Go Back   CodingForums.com > :: Client side development > Flash & ActionScript > Adobe Flex

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-21-2010, 01:37 AM   PM User | #1
saha ch
New to the CF scene

 
Join Date: Jan 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
saha ch is an unknown quantity at this point
Restricting access to URL of the flex application

Hi,

I want to restrict access to the URL of the intranet flex application. We do not want a login page to be used. Just give access to specific users may be based on windows authentication. Users who are allowed should automatically view the application once the URL is typed and remaining should get a error message when the URL is typed. Any ideas of how i can achieve this?

Thanks,
Saha
saha ch is offline   Reply With Quote
Old 05-24-2010, 12:33 AM   PM User | #2
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
Flex is not the best application to handle this. You should use the webserver to restrict access to your flex application. For example, use an .htaccess file to only allow the intranet IPs to access it so everyone else gets a 403 error.
Inigoesdr is offline   Reply With Quote
Old 05-27-2010, 06:09 PM   PM User | #3
saha ch
New to the CF scene

 
Join Date: Jan 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
saha ch is an unknown quantity at this point
I do not want to restrict based on IP address because the user who is permitted can log from any system, it should be restricted by the user logged in to the system. How do i get which user has logged in to the system using flex?
saha ch is offline   Reply With Quote
Old 05-29-2010, 04:44 PM   PM User | #4
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
I don't think that is possible using Flex because the user logged into the system shouldn't be exposed to the flash plugin... I would see that as a security issue. The only way I can think of where this might be possible is with the use of a third-party plugin like ActiveX that could hook into the OS's functionality. Even if it could see the user, that isn't sufficient to authenticate someone as it could be easily faked.
Inigoesdr is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:06 AM.


Advertisement
Log in to turn off these ads.