how do I set up a secure page on my website?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- how do I set up a secure page on my website?
Re: how do I set up a secure page on my website?
30-08-2012 8:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
You should be able to open the file directly from KompoZer using File->Open File and navigating in the Explorer window which opens to locate the file on your computer. That would avoid any need for an intermediary editor such as Notepad.
If you do need to open it in FrontPage it should be possible to copy the source code directly from that to the KompoZer source view.
The HTML code on Homepages does include lots of class and style references that might make sense for pages located on a FrontPages server, such as Plusnet used to provide, but are just ignored on Homepages. This is probably a mystery area for you, I don't think there's any need to worry about this for now.
As far as password protecting a folder is concerned, this works on my site - which doesn't have FrontPages interfering. So no reason for not being able to do this on your site - as long as having FrontPages running during file upload doesn't mess things up.
David
Re: how do I set up a secure page on my website?
21-09-2012 12:42 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: how do I set up a secure page on my website?
21-09-2012 7:09 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm not familiar with Frontpage options but if such side effects can be turned off by just using Frontpage as an editor and uploading files using FileZilla I'd be more confident that password protecting can be made to work. Is there an option to do that?
The newdir folder now gives a "403 access forbidden" error; have you changed the permissions on that folder?
David
Re: how do I set up a secure page on my website?
21-09-2012 9:42 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
There isn't an option, that I can find, in Frontpage to password protect a page. I don't know how to turn off any side effects
It's quite possible that I've changed the permissions in the newdir folder as I was doing lots of experimenting.
I would like to keep FP as there are lots of features that I like. It's pretty basic & easy to understand, which is great for me.
Best regards, Mick.
Re: how do I set up a secure page on my website?
22-09-2012 11:02 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Also, you can only protect an entire folder, not an individual page.
The key to getting password protection is the existence of the .htaccess and .htpasswd files with the right settings and permissions. (As per the library article).
There should be no reason why you can't continue using FP, as long as it doesn't interfere with these files in ways it shouldn't.
Re: how do I set up a secure page on my website?
22-09-2012 12:15 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Not entirely sure if this is correct but it looks like Frontpage might use .htaccess for its own purposes causing a user generated one to be overwritten.
David
Re: how do I set up a secure page on my website?
24-09-2012 1:48 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: how do I set up a secure page on my website?
24-09-2012 2:30 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Therefore Plusnet do NOT offer ASP hosting.
SSL is an entirely different ballgame, unrelated to ASP or password protected pages, it relates to the communication between the client and server, which in the case of webpages is the difference between HTTP and HTTPS.
While there is some support for it , it imposes limitations.
[quote=https://portal.plus.net/support/hosting/webspace/webspace_faq.shtml#https]6. Can I use my webspace with HTTPS (SSL security)?
Yes, although you'll need to use a different address to view your site. The format of the secure address for your site is: https://homepages.plus.net/username/
Hosted domains and your regular virtual domains (www.username.plus.com,ccgi.username.plus.com etc) don't support SSL. You can learn more in our Guide to SSL Security.
Re: how do I set up a secure page on my website?
01-10-2012 6:52 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I copied both the htaccess.txt & htpasswd.txt files individually onto notepad from the support pages & then saved both of them individually into my newdir folder on my website. Next was to open Filezilla & they are shown in my local site (left hand pane in the newdir folder, file size for htpasswd.txt is 25 & the filesize for htaccess.txt is 136. I dragged the individual files across into htdocs/newdir (righthand pane) & they were uploaded successfully.
I then renamed both files in the left hand pane to .htaccess & .htaccess, leaving the original files on my website as htaccess.txt & htpasswd.txt.
I then searched for www.paternosterlodge.co.uk/newdir/ hoping to bring up a password box only to get:
The website declined to show this webpage
HTTP 403
Question: when creating the htaccess.txt file using 'AuthUserFile/share/isp/plusnet/www/.................. should I have substituted the two letters following www/??/ with the first two letters of my user name (in this case su ) or the first two letters of my website name, pa. Likewise after su/ or pa, should this be my account user name or my wesite name?
Best regards, Mick
Re: how do I set up a secure page on my website?
01-10-2012 8:32 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: samgregkt I copied both the htaccess.txt & htpasswd.txt files individually onto notepad from the support pages & then saved both of them individually into my newdir folder on my website. Next was to open Filezilla & they are shown in my local site (left hand pane in the newdir folder, file size for htpasswd.txt is 25 & the filesize for htaccess.txt is 136. I dragged the individual files across into htdocs/newdir (righthand pane) & they were uploaded successfully.
That seems OK. The filesize of htpasswd.txt probably didn't change on the remote site, htaccess.txt would be 3 (or perhaps 4) bytes smaller.
Quote from: samgregkt I then renamed both files in the left hand pane to .htaccess & .htaccess, leaving the original files on my website as htaccess.txt & htpasswd.txt.
I hope you meant to say "right hand pane" there. The ones you should have renamed are those on the remote server.
Quote from: samgregkt I then searched for www.paternosterlodge.co.uk/newdir/ hoping to bring up a password box only to get:
The website declined to show this webpage
HTTP 403
I don't think that is due to the change you've just made. I mentioned that problem in reply #32. You said you might have changed the permissions on the /newdir directory.. Those should be 755 and the files within it 644.
Quote from: samgregkt Question: when creating the htaccess.txt file using 'AuthUserFile/share/isp/plusnet/www/.................. should I have substituted the two letters following www/??/ with the first two letters of my user name (in this case su ) or the first two letters of my website name, pa. Likewise after su/ or pa, should this be my account user name or my wesite name?
There should be a space between AuthUserFile and /share/isp/.... However the two letters should be from your username (su) and / then your username follows (AuthUserFile /share/isp/plusnet/www/su/su..../htdocs/newdir/.htpasswd)
Hope this sorts things
David
Re: how do I set up a secure page on my website?
01-10-2012 10:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I hope you meant to say "right hand pane" there. The ones you should have renamed are those on the remote server.
I've changed this now.
HTTP 403
I'm a bit unsure here. In Filezilla if I right click on the newdir folder on the bottom right hand pane (remote site), & left click file permissions the numeric value is 744. Should this read 644 & how do I check the 755 bit?
I'm glad that I created the htaccess part correctly.
Once again many thanks for your help.
Best regards
Mick
Re: how do I set up a secure page on my website?
01-10-2012 11:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
To fix that, in the File Permissions display for the directory either tick the "execute" check boxes or type 755 in the text box and click OK. Note that the check boxes toggle between empty, tick and square if you repeatedly click on them. Square means 'don't change' and x will appear in the text box.
See attached example for how it should look.
Re: how do I set up a secure page on my website?
01-10-2012 11:22 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Best regards, Mick.
Re: how do I set up a secure page on my website?
02-10-2012 2:11 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I think the password information is saved for 24 minutes so if the directory is entered again within that time you won't be asked for the password again. This avoids visitor annoyance if they are browsing between the protected folder and elsewhere. The password box should reappear after not visiting the folder for that time.
The server 500 error could be due to a problem with the .htaccess file - has it's size changed since you originally uploaded it to the server?
David
Re: how do I set up a secure page on my website?
02-10-2012 10:53 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Depending on how the systems configured, and if you can fond someone who can help on plusnets side, usually the cause of the error is logged.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- how do I set up a secure page on my website?