0
Lock Down .cfm Pages in IIS
New Here
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/td-p/7261
Oct 25, 2006
Oct 25, 2006
Copy link to clipboard
Copied
What is happening is that the images (.gif, jpg, and .doc)
along with .html pages are protected via IIS, but the .cfm pages
are being serve up in the browser.
How would I make it so that .cfm pages are not served up by IIS if they have Windows authentication enabled?
Thank you!
How would I make it so that .cfm pages are not served up by IIS if they have Windows authentication enabled?
Thank you!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Engaged
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7262#M722
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
Not sure what you are asking.
I would start by turning off annonymous access in IIS.
I would start by turning off annonymous access in IIS.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
BearStink
AUTHOR
New Here
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7263#M723
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
I am asking that the ".cfm" pages are protected in the folder
just like the images and ".htm" pages.
I cannot get to the images and ".htm" pages because windows security prevents me from seeing them which is the correct behavior, but the "cfm" pages are served up and shouldn't be.
What is going on?
Anonymous access is already turned off.
We can use iAuth, but would rather not use it.
Are there no more ColdFusion Experts? Anyone left from the Allaire days or have you all jumped the cfml ship for .NET and Java?
I cannot get to the images and ".htm" pages because windows security prevents me from seeing them which is the correct behavior, but the "cfm" pages are served up and shouldn't be.
What is going on?
Anonymous access is already turned off.
We can use iAuth, but would rather not use it.
Are there no more ColdFusion Experts? Anyone left from the Allaire days or have you all jumped the cfml ship for .NET and Java?

Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Engaged
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7264#M724
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
In your Application.cfm, put in a login script or
authentication script. That'll work for all of your cfm
pages.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
BearStink
AUTHOR
New Here
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7265#M725
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
There is no application.cfm right now. If I add the
application.cfm what do you use to check that they are
authenticated through Windows? There are no cookies or sessions
being set.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7266#M726
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
There is no application.cfm right now. If I add the
application.cfm
what do you use to check that they are authenticated through Windows?
There are no cookies or sessions being set.
I'm not sure what your issue is. When I set security in IIS it applies
to all my templates htm, cfm or otherwise. Once security is set CFML
can access the user from the cgi.auth_user variable.
what do you use to check that they are authenticated through Windows?
There are no cookies or sessions being set.
I'm not sure what your issue is. When I set security in IIS it applies
to all my templates htm, cfm or otherwise. Once security is set CFML
can access the user from the cgi.auth_user variable.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Engaged
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7267#M727
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
you mustbe using some database to authenticate the user. The
same parameters can be used to authenticate whether the user should
be allowed to view the cfm pages. You can also set ip addresses,
url's that are allowed access etc. Depends on how you've set up
authentication.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Engaged
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7268#M728
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
Incase of a database athentication, you'll need to set up the
database connection using the coldfusion administrator and then use
<cflogin> to authenticate the user.
If you search the web, there are a number of cflogin scripts availabe. Look in easycfm.com
If you search the web, there are a number of cflogin scripts availabe. Look in easycfm.com
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
BearStink
AUTHOR
New Here
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7269#M729
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
I don't want to use a database, I want to utilize the Active
Directory groups in Windwos Security.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7270#M730
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
I don't want to use a database, I want to utilize the Active
Directory
groups in Windwos Security.
Can you detail how you have security setup for you websites?
groups in Windwos Security.
Can you detail how you have security setup for you websites?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Engaged
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7271#M731
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
sorry, I am out of depth here. Maybe someone else can give
some suggestions
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
BearStink
AUTHOR
New Here
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7272#M732
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
I was hoping to use the CGI_Auth_User in the application
.cfm
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Engaged
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7273#M733
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
That would work too. You will still need to have a list
somewhere of the authorized users so the comparison can be made and
user authenticated.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7274#M734
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
I was hoping to use the CGI_Auth_User in the application .cfm
If you have anonymous login turned off and windows integrated or some
other IIS security turned on, then the cgi.authUser will be populated
with the domain/username of the logged in user.
We often use that in conjunction with <cfldap ...> to provide
authentication and validation with our systems. It is fairly straight
forward.
Are you getting a value in your cgi.auth_user field?
If you have anonymous login turned off and windows integrated or some
other IIS security turned on, then the cgi.authUser will be populated
with the domain/username of the logged in user.
We often use that in conjunction with <cfldap ...> to provide
authentication and validation with our systems. It is fairly straight
forward.
Are you getting a value in your cgi.auth_user field?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
BearStink
AUTHOR
New Here
,
LATEST
/t5/coldfusion-discussions/lock-down-cfm-pages-in-iis/m-p/7275#M735
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
We are using IIS and All I care about it authentication not
authorization right now.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

