Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Securing a Folder - How to do this?

Hi:

I am planning to have part of my site restricted to users that have username/password.

I was wondering if any posters has done this with CityDesk and have tips on the best way to do this?

Thanks.

Ram Dass
Monday, September 01, 2003

http://discuss.fogcreek.com/CityDesk/default.asp?cmd=show&ixPost=9217&ixReplies=3

www.marktaw.com
Monday, September 01, 2003

Another neat way is using phpSecurepages ( http://www.phpsecurepages.com ). Basically you add a snippet of php to the top of each html file/article that you want protected. Then you create your list of user/password combos in one of the config files. Anytime someone tries to access a page with the snippet of php at the top of it it requests their username & password. The way I use it is I have a template with the php snippet in it & I use that template whenever I need a page to be password protected.

Israel Orange
Tuesday, September 02, 2003

*  Recent Topics

*  Fog Creek Home