Solved

user pass authentication like htaccess (so it protects the entire directory - not just ind. pages)

Posted on 2003-11-12
2
200 Views
Last Modified: 2013-12-24
user pass authentication like htaccess (so it protects the entire directory - not just ind. pages)

i'm using a unix server with cf on it. i can password protect directories using something called htaccess.  i'd like to be able to do the same thing with cf w/o having to apply user authentication to every page in the directory.

is there a way to do this?????/
0
Comment
Question by:phillystyle123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
PE_CF_DEV earned 50 total points
ID: 9740139
iput the user authenitcation code in your application.cfm...all pages in that directory will use application.cfm.
0
 
LVL 4

Expert Comment

by:procept
ID: 9753282
Hi,

a minor correction to PE_CF_DEV's comment: the file must be named "Application.cfm" (capital 'A'), or it won't work.

HTH,

Chris

0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question