Forum Moderators: open

Message Too Old, No Replies

password protect

         

jrock2005

2:48 am on Jun 30, 2005 (gmt 0)

10+ Year Member



Is there an easy way to password protect a webpage without a use of a database?

bppilot

3:30 am on Jun 30, 2005 (gmt 0)

10+ Year Member



You should be able to do this using .htaccess if you're just wanting to do a very simple, but effective protection. You'll need ssh / telnet access to the server directory to do this however.

jrock2005

5:10 am on Jun 30, 2005 (gmt 0)

10+ Year Member



Will that be for anyone who wants to access the files? Please give more info.

Dijkgraaf

11:46 pm on Jun 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well for starters what operating system is your web server running? If it is appache then yes, either .htaccess or .htpasswd are where you can do such things.
But if it is IIS, then you have to do different things.
I would suggest either posting your query in the Apache forum or one of the Microsoft forums depending on which it is.

Dijkgraaf

12:58 am on Jul 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it is Apache, there is a thread here [webmasterworld.com...] that has a few usefull links.

[edited by: tedster at 1:15 am (utc) on July 1, 2005]
[edit reason] fix link [/edit]