Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Can I do .htaccess within CityDesk

I haven't done this before in any form. I'm doing a little prototype for a document repository based on a 10 minute phone conversation with my brother. Somebody smarter than me may have todo  the real thing if is scales too big and has too many users.

The "for sure" requirement is: only one person can put the documents into the site. Everybody can view/print the documents in Word. So, the CityDesk publish will work fine for adding new and revised documents. One person can check them in; nobody can check them out; only one person can manage them.

I'm trying to anticipate and demonstrate a requirement: Only a members of the team can see the teams documents. There may be 10 teams.

At any rate, I wonder if I can use .htaccess to demonstrate logon / password protection for a team's documents. And I want to know if I can do .htaccess with CityDesk.

tk
Wednesday, August 27, 2003

TK,

Try  http://wsabstract.com/howto/htaccess.shtml .

You want to give the "universe" read access only to your CD files?

But you want to give "administrator" read-write-publish rights to your CD files?

There is NO WAY you can do this in CD.

.htaccess is server based. As far as I know, it doesn't manage FTP access rights. Anyone with your server password can FTP to your server.

Don't give out your server password!

-------------------------
Here's the .htaccess file I have on http://www.beitrayim.org:


IndexIgnore *

ErrorDocument 404 http://www.beitrayim.org/CITYDESK/not_found_default_page.html

<Files .htaccess>
order allow,deny
deny from all
</Files>


Follow up this issue with us!

-Bob

Bob Bloom
Wednesday, August 27, 2003

Yeah the .htaccess file you can make in citydesk (no wait... cd won't let you create a file with a . to start will it?).

But the .htpassword file is hashed (encoded) and needs to be written by the server.

www.marktaw.com
Thursday, August 28, 2003

You can generate it at http://www.euronet.nl/~arnow/htpasswd/

NoScript
Thursday, August 28, 2003

*  Recent Topics

*  Fog Creek Home