Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFLOGIN problem with IsUserInRole

Status
Not open for further replies.

johk02

Programmer
Joined
Aug 20, 2003
Messages
169
Location
AU
Hi,

I have a serious problem with the security regarding the login function. I am using CFLOGIN and it's features. The problem is when I switch btw 2 application without closing the browser window.
For example - if I log in to App 1 and it I get the role "Admin" and if I switch to App2 that requires you to log in as well and have the same Roles set up, I "bypass" the log in function. Are there any way to make the Roles unique for just on application??

Thanks

Jonas
 
Do these applications have the same "name" in the cfapplication tag? If so, you'll need to change one of them.



Hope This Helps!

ECAR
ECAR Technologies, LLC

"My work is a game, a very serious game." - M.C. Escher
 
Yes they do.
Should I give them a cryptic name for added security??

Thanks
Jonas
 
It wouldn't hurt, but I don't think it will matter much. What's happening is that since both applications have the same name, CF sees it as the same application. So, if you're logged into one, you're logged into the other and CF will pass the info between the two.



Hope This Helps!

ECAR
ECAR Technologies, LLC

"My work is a game, a very serious game." - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top