[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

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

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
phillystyle123
Asked:
phillystyle123
1 Solution
 
PE_CF_DEVCommented:
iput the user authenitcation code in your application.cfm...all pages in that directory will use application.cfm.
0
 
proceptCommented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now