Restrict Access Not working

I have 3 folders - Admin, Private, Public
I have 3 values for Permissions 1=Admin, 2=Private, 3=Public
I have an automatic redirect when a user logins in
ie. a privater user logins in and is redirected to /private/index.php
Which works great, now i placed a restrict access folder behavior to the private folder and only selected 2 for the permission (private access). Now when the private user logins in and is redirected to /private/index.php it says access denied please login.
Why is it not allowing that person to get to that page. Ive checked the /private/index.php page and it says:
//Start Restrict Access To Page
$restrict = new tNG_RestrictAccess($conn_portersonline, "../../");
//Grand Levels: Level
$restrict->addLevel("1");
$restrict->addLevel("2");
$restrict->Execute();
Anybody have any ideas???

Here is my session setting in Php
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path .\ .\
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off

Similar Messages

  • Access control - Restricted access not working

    Hi
    I have an application I have created an Access Control administration page in. I have set the application mode to 'Restricted access. Only users defined in the access control list are allowed'. I have defined two users one with administrator and one with edit privileges. I have a third workspace user who is not listed on the access control page.
    I have added the authorisation scheme to the tabs, pages and page items I require. This appears to work fine if I change the privilege of one of the listed users to 'view' the items disappear and cannot be accessed.
    The issue I have is that the workspace user who is not listed can still log into the application, and has the same access as 'view' privilege. My understanding is that the 'Restricted Access' application mode should prevent this user from accessing this application as they are not explicitly listed?
    Have I missed some set-up, misunderstood the meaning of 'restricted access' or is it some sort of bug? I am assuming I have missed some set-up somewhere.
    PS This is APEX 4.0.2 on 11g
    Edited by: tlane on 15/02/2011 19:43

    I have set the application up on apex.Oracle.com
    http://apex.oracle.com/pls/apex/f?p=48123:101:506666493527664
    four users have been defined :
    control_admin
    control_edit
    control_view
    control_na
    The first 3 are defined on the access control page available on the user_admin tab when you login as control_admin user.
    user control_na is not listed but can still access the application.
    password for all users is : demo1234
    Thanks in advance for all help with this issue.

  • Page Restricted Access not working

    Hey everyone. I just added a page to my website and it needs to have restricted access. I want it to be accessable to administrators only, so here's what I've done.
    For the log-in page, my box is as follows:
    This is my restrict access box:
    And here's the data from the MySQL database:
    Not sure what I need to do, for every time I try to log in with my information (correct values checked), I get redirected to my error page.
    Thanks in advance if you can help!

    I have set the application up on apex.Oracle.com
    http://apex.oracle.com/pls/apex/f?p=48123:101:506666493527664
    four users have been defined :
    control_admin
    control_edit
    control_view
    control_na
    The first 3 are defined on the access control page available on the user_admin tab when you login as control_admin user.
    user control_na is not listed but can still access the application.
    password for all users is : demo1234
    Thanks in advance for all help with this issue.

  • "access restrictions" did not work sometimes when using 3-tier DeskI.

    My customer found that "access restrictions" did not work sometimes when using 3-tier DeskI.
    But this issue can be solved by logging on from another machine, or restarting the DeskI.
    For I can reproduce this issue, so I just want to know that:
    1.What is it probably related to?
    2.If this issue happens again, what can I suggest my customer for tracking it?
      For example, get some log files from servers etc.
    Thanks!

    Hi Sarah,
    Also you can try the following solution.
    1. Import the universe.
    2. Go to manage access restrictions
    3. Remove the restriction .
    4. Again create the rescrition and unchecked the " limit size of result set to"
    5. Now assign it to the unlimited results group ( this is the name of
    the group we have given to those users who should be able to retrieve
    more than X rows)
    6. Now we save the universe. (Dont export the universe).
    I hope this will help you.
    Regards,
    Sarbhjeet Kaur

  • MAC adress restriction is not working

    Hi All
    I have 1 AirPort Extreme (4th generation) who is a DHCP server in my local LAN 172.16.1.xxx
    Connected to this Extreme, one Airport Epresse (1th) generation
    By default, all connection is filtering by MAC Adress.and for my kids, I stop the network during the night.
    All work's fine in WiFi.
    But if one PC is connected to the AirPort Express by LAN (Ethernet), the restriction is not working.
    I try to add restriction for the AirPort Extrem - by MAC Adresse of course - same issue.
    could you help me to fix this error or is it a BUG in the airport.
    Thanks in advance for your feedback
    Cheers

    But if one PC is connected to the AirPort Express by LAN (Ethernet), the restriction is not working.
    Since 2007, Apple's Timed Access feature does what it says that it will do. It only works for wireless clients......not Ethernet connected clients.
    You may have missed this notation in the setup screen in Timed Access. See the highlighted box:
    If you want to see a feature to include Ethernet clients in Timed Access, I suggest that you contact Apple to let them know.
    Apple - AirPort Extreme - Feedback

  • Ios 8 restrictions password not working

    Ios 8 restrictions password not working .... But 'am sure i didnt forget it !! ....what shall i do ?!!

    Howdy Kanfoud,
    If the iPhone isn't accepting the Restrictions passcode (which can differ from the normal access passcode), you'll need to restore the device.
    If you lose or forget your Restrictions passcode, you'll need to perform a factory restore to remove it.
    About Restrictions (parental controls) on iPhone, iPad, and iPod touch
    https://support.apple.com/en-us/HT201304
    Sincerely,
    Allen

  • Access Restrictions still not working with latest firmware

    Linksys WRT54GS V5 with firmware v1.52.2
    I cannot believe what a frustrating experience this is. All I want to do is block facebook.com from my two high schoolers until they’ve done their homework.
    Starting out, it simply did NOT work, and I discovered from this forum that the initial firmware did not work for this feature. So here is what I did:
    - Downloaded v1.52.2 firmware, which is indicated as being the latest for this router
    - Upgraded the router, per the instructions with this firmware.
    - Pressed (and held)the reset button for the indicated 30 seconds
    At this point, my router switched back to the default access point name and access password. Fortunately, I had backed up my configuration, so I then:
    - Loaded my previous configuration that included my Wireless security settings, different AP name, etc...
    - Powered down, then back up router, cable modem.
    Router now works wireless as before, but Access Restrictions still does not restrict. Router does list the correct firmware on the admin screens.
    Here is how I sent up my one (and only policy)
    Internet Access Policy: 1(facebook)
    Status: Enable
    Enter policy name: facebook
    PCs: Allow checked
    Days: Everyday checked
    Times: 24 hours checked
    Blocked Services: NONE
    Wewbsite Blocking by URL Addresses:
    3 entered, they are:
    http://www.facebook.com
    http://static.ak.facebook.com
    http://apps.facebook.com
    Website blocking by keyword: All 6 boxes empty
    This was easier to do on my old netgear router, and it also actually WORKED. ARGHHHHHH

    Thanks, but that did not work either. It seems to me that, entering mac addresses ended up totally taking away all internet access for the computers on the MAC list. This is really pathetic that a concept that on the surface seems so simple, as in 'deny access to hostname xxx.com' can be so difficult to implement. If there wasn't the suggestion that this were a feature of the router, I wouldn't care. But it *is* supposedly a feature, and the feature simply does not work.
    It seem to me that LinkSys has too many mutually exclusive options on a single page. It would be easier to grok if the hostname filter had it's own page, then you wouldn't be wondering what the 'deny/allow' check box did or did not do in conjunction with your selections.
    Does the feature work or not? As I mentioned, this was childishly easy to accomplish on my Netgear router. If it didn't suck so bad in other areas of performance, I'd simply go back to it.

  • Software restriction policy not working correctly

    Ladies and Gents,
    we run a windows server 2008r2 environment.
    we have a software restriction policy in place for quite some time now and it's been working fine until about a week ago. here's how we have it setup:
    Enforce = All Software files except libraries (such as DLLs). + All Users.
    Security Level = Disallowed
    Designated File Types= 
    Defaults
    Additional Rules:
    C:\* = Disallow.
    The rest of the rules are paths for files and folders that we have set as Unrestricted.
    Since about a week ago, our security team discovered that they can open any allowed file type such as text file, and then go to file and click on open. In the open dialog box they would type
    in C:\Windows\System32\drivers\etc\hosts and then click and open it would actually open the hosts file.
    I even tried adding a path rule for C:\Windows\System32\drivers\etc\hosts with Disallow, and it’s still allows opening this file for non admins.
    Any ideas as to why is software restriction policy not blocking access to any files or folders that are not explicitly allowed via a path rule?
    Any help or comments are much appreciated.
    Mohsen Almassud

    You are moving in a wrong way. Software Restriction Policies are designed to prevent users to launch executables/applications. It cannot prevent you from opening TXT file, because it is not an executable. In order to prevent TXT files, you have to block
    notepad.exe executable. It is very different technology.
    You must move to a permission configuration. If there are folders users should not access, remove them from respective folder's ACL. You must be careful with restricting user access to system folders (%systemroot%), because you may block critical applications
    and eventually no one will be able to log on to server, because logon-dependant paths are not accessible due to restrictions in the ACL.
    My weblog: http://en-us.sysadmins.lv
    PowerShell PKI Module: http://pspki.codeplex.com
    Check out new:
    PowerShell FCIV tool.

  • Restrict Access sometimes works

    Using DW CS3 on Mac 10.4.11 & PHP 4.4.7 & MySQL
    4.1.21-standard on Apache 1.3.37 on a UNIX server.
    I've set up "Log In User" SB. Works fine.
    I've set up "Restrict Access" SB on dummy PHP pages (based on
    template, but with little content, no other PHP or SBs on the page)
    and the "Restrict Access" works just fine.
    Then I set "Restrict Access" with PHP pages the contain
    RecordSets and other PHP code (using standard DW SB). When I try to
    access the page, it just hangs, whether or not I'm logged in.
    Any guidance or direction will be GREATLY appreciated!
    thanks
    Here is the code for a page that does NOT work:

    Found the answer to my own question. I changed Line 1 from
    "virtual" to "require_once" and everything works fine!

  • Characteristic Restrictions is not working in Universe

    Hi,
    I have given some Characteristic Restrictions in query designer's filter tab.But when i created universe on it,its not working here.
    Even i have provided condition in SAP BI query,still this is also not working in universe.
    CAn you tell me whats going wrong here?
    Thanks
    Piyush

    Hi
    what kind of restriction do you apply (constant values, variables, what kind of operator do you use etc)?
    Which version of BO do you use?
    Conditions defined in thehe query designer are not applied in the universe. This is by design. Characteristic restrictions defined in filter section should work though.
    Regards,
    Stratos

  • Parental Controls Content Restrictions do not work correctly in iTunes?

    I cannot seem to get the content restrictions to fully work in the iTunes Store. The Content Restrictions state that I will not be able to preview, purchase or subscribe to content that is marked as explicit:
    But after setting the Applications level to 4+ and making sure the "Restrict explicit content" box is checked:
    I am still able to view apps for a 17+ audience. The "Entertainment" section of the App Store is filled with applications that feature sexually graphic content (i.e. pictures of nude women in suggestive positions.) The settings do stop me from purchasing the apps. The "Buy App/Get App" button is grayed out so I cannot get the app, but I am still able to preview the app, including screen shots of graphic content along with detailed descriptions.
    Is there a step that I missed? How do I make the 17+ apps not visible? I do not want to disable the entire App store, just the explicit content.
    Thanks!

    I do not understand why APPLE is making it Rocket Science to protect our kids from this por-nography through their Store.
    I have been in a dialgue with APPLE now for 2 weeks about the APP's that continue to come up, and researching further their podcasts also. They continue, as recommended here, to suggest that you complain to the a feedback link that, unfortunately, ends with a thank you and we will not be contacting you personally about this.
    My suggestion is that you go to one of their 24 hour response links, here is one! (http://www.apple.com/support/itunes/contact.html?form=app_store&topic=App%20Stor e&subtopic=Downloading%20and%20updating%20Applications) and complain there. It is their respondsibility to manage their content.
    The other suggestion is to notify everyone you know of your issue with APPLE and encourage them to also notify APPLE!
    Everyone that I have notified is equally dissatisfied with APPLE.
    Shame, we have to go so far to get APPLE to do what's right!

  • Mail yahoo pop access not working.

    This has been going on for 2 days now. Re set up my account in mail but nothing just the ! next to the mailbox. Anyone else having problems?

    Sending an email is something totally different again - you can send yourself or anyone else an email to any email address.
    You can also send or forward any email while on your Yahoo account to yourself or anyone else.
    Setting up Yahoo to automatically forward emails to your home email address is something else. Here is an excerpt from Yahoo Help:
    +The ability to access Yahoo! Mail using an email reader program such as Outlook, Eudora, or Thunderbird is only available to customers of our premium Yahoo! Mail Plus service. To determine whether you have purchased this service, please visit the My Services page.+
    Although this does not mention Apple Mail, it functions exactly like Outlook, etc. so it will not work. Here is the link to the entire help page:
    http://help.yahoo.com/l/us/yahoo/mail/yahoomail/mailplus/pop/pop-35.html;_ylt=An EHIP08O6GRC7cEYzjbTbe7myN4
    I have no idea why it might have worked for you previously, but according to Yahoo, it cannot be done unless you pay for the service.
    So, unless I've totally misunderstood what you are trying to say, I do not have a different answer and it does not have anything to do with your Mac or OS.

  • Expression using Map access not working....

    I am attempting to use the ability to access a Map by key from a binding expression on the jsp. I have extended HashMap and overridden the get method in order to return a Boolean from the get(key) method.
    This works:
    rendered="#{bean.enabledFunctionSecurityMap['key1']}"
    it ends up calling the bean.getEnableFunctionSecurityMap().get("key1");
    This should work also but doesn't:
    rendered="#{bean.enabledFunctionSecurityMap['key1'] or bean.enabledFunctionSecurityMap['key2']}"
    Any reason why a single Boolean returned from a Map would work fine, but a more complex statement with 2 Booleans will not work. Doing a statement like this just accessing multiple boolean getter functions on a bean works, how come access muiltiple Map returns does not?
    Any help is appreciated.
    Thanks,
    Mike

    All righty then, I solved my own problem.
    There were actually 2 issues.
    1. I could so far only get this to work if the Overridden Map Object is registered as a manged-bean itself.
    2. I was testing to see if it worked by using System.out.println methods in my overridden get() method. Appearantly the JSF EL is smarter than I am. If you have #{binding1 or binding2} and binding1 evaluates to True, binding2 is never evaluated. The expression is short circuited and returns true... DUH....
    So this expression fires both bindings....
    rendered="#{enabled['key1'] and not enabled['key2']}"
    Where enabled is...
    <managed-bean>
    <managed-bean-name>enabled</managed-bean-name>
    <managed-bean-class>security.EnabledFunctionSecurityMap</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    Next step will be to try and figure out how to get this to work where the EnabledFunctionSecurityMap is on another bean.
    Hope this helps anyone trying to do the same.
    Mike

  • IOS 8.02 guided access not working for Ipad 2

    Will the next update for iOS 8 fix the issue for guides access for Ipad 2? Issue; function not working at all. And when will this update come?
    We have now tried everything we can think of. Reset settings, totale factory reset etc. This doen both on the Ipad and thorugh iTunes.
    For us the Ipad got useless with iOS 8 as we us it as a visitor kiosk using the app SIGN IN. We really regret updating.... please fix asap

    I can confirm that this works on 3rd Generation iPads.  But not 2nd Generation iPads.  I have found that if Guided access was enabled prior to the upgrade it might reset in this process.
    Turn off Guided Access in Accessibility / Settings.
    Hard reboot.  (Hold Home and Lock buttons for 7 seconds)
    Turn on Guided Access in Accessibility / Settings.  Reset Passcode.
    Anyone have luck with a newer model?

  • Time restricted rule not working.

    BM 3.9 NW 6.5 SP7 iManager 2.6.
    I have a time restricted rule on a couple of web sites so that they can only be accessed outside working hours but they dont appear to work properly. Sometimes the site will be blocked and other times it goes straight to it. Also if I get the access denied page 403 as soon as you hit the back button the site will load and ignore the rule ! Is this a bug or is my rule incorrect ?
    Rule is set for allowable hours between 6pm to 7am with a lunch break between 12 and 2pm. It is alos set on a particular NDS container and I have specified the urls to be blocked. The allow box is ticked as I presumed that this meant it would only allow acces during the specified time. If I switch to deny it doesnt seem to make any difference. I know that if the page has been previously cached it will look for it there first so can I disable cache for this site ?
    Ay help to any part of this problem is much appreciated.

    I can't see the time being an issue as the page originates from the UK which is also where I am. It doesn't appear to work full stop. I added new rules for different web sites and none of them obey the time restrictions. I also tried deleting and recreating, using wildcards and substrings exclusions but nothing appears to make any difference. I have cleared the PC and BM cache as well. Now I cant seem to replicate the initial error when using the back button as the page is displayed anyway. Is there a definition for setting time rules as I cant seem to find much info on it. ie when setting the time restrictions you hughlight the bixes to allow access at those times. Then do you allow access or deny access on the rule ? What do you specify as the url you want to restrict. I itried Source, destination, url just about all options so what are the rule components needed to make it complete. If it helps I want to block Sky Sports | Home during working hours 6am to 12pm and 2pm to 6pm.
    Thanks,
    Jeff

Maybe you are looking for