Directory access solution - please recommend.

In regards to the site
http://www.myhappypeople.com
I need a simple directory access solution (that hopefully
doesn't let people bookmark an accessed page and go back to it
without logging in again). All I want is for a client to click one
link, which prompts a login/password screen, and based on their
input directs them to a directory/page they are allowed to view.
The DW 8 manual doesn't seem to really tell me how to do
anything but rather sends me in circles on the elements I need
(databases, page with forms, etc).
I've looked into some free CGI scripts, that don't seem to be
easy to update/maintain.
Can anyone offer a suggestion. It's the last thing I need to
figure out to complete this site.

Well, there's two ways of doing this: server level and app
level.
You can setup users in IIS and Apache and this will cause the
server to automatically prompt for login. However, this requires
access to the user database on the server and usually admin access
to set file permissions.
The way I prefer to handle it (and I'm not a security expert,
btw) it with a session cookie and an authenication script. I make a
file that checks to see if the session cookie for auth is set. If
not, it sends the user to a login page. I then include this file at
the top of every page I want to protect.
The login is then just a form that posts to a page the
verifies the password and sets the cookie. Now, this technique
isn't foolproof. If you're not using HTTPS, then you are sending
the password in clear text and it could be grabbed by a hacker.
But, for light security, it works pretty well and is easy to
deploy.
<?php
#fire up the session and see if user is logged in.
session_start();
if(isset($_SESSION["LOGGED_IN"]) &&
$_SESSION["LOGGED_IN"] == "TRUE"){
# Do something if needed. I connect to databases here.
}else{
#Redirect non-logged in request
header("location: /admin/login.php");
}

Similar Messages

  • Client login solution - please recommend.

    In regards to the site
    http://www.myhappypeople.com
    I need a simple directory access solution (that hopefully
    doesn't let people bookmark an accessed page and go back to it
    without logging in again). All I want is for a client to click one
    link, which prompts a login/password screen, and based on their
    input directs them to a directory/page they are allowed to view.
    The DW 8 manual doesn't seem to really tell me how to do
    anything but rather sends me in circles on the elements I need
    (databases, page with forms, etc).
    I've looked into some free CGI scripts, that don't seem to be
    easy to update/maintain.
    Can anyone offer a suggestion. It's the last thing I need to
    figure out to complete this site.

    Use a database for the login info.
    Use the server behaviors for logging and and restricting
    access to a page to
    complete it.
    "Tangier Clarke" <[email protected]> wrote
    in message
    news:eacvd4$mm4$[email protected]..
    > In regards to the site
    http://www.myhappypeople.com
    >
    > I need a simple directory access solution (that
    hopefully doesn't let
    > people
    > bookmark an accessed page and go back to it without
    logging in again). All
    > I
    > want is for a client to click one link, which prompts a
    login/password
    > screen,
    > and based on their input directs them to a
    directory/page they are allowed
    > to
    > view.
    >
    > The DW 8 manual doesn't seem to really tell me how to do
    anything but
    > rather
    > sends me in circles on the elements I need (databases,
    page with forms,
    > etc).
    >
    > I've looked into some free CGI scripts, that don't seem
    to be easy to
    > update/maintain.
    >
    > Can anyone offer a suggestion. It's the last thing I
    need to figure out to
    > complete this site.
    >
    >
    >

  • Failing to get Wireless Internet Access.  Please Help!

    Happy new year everyone! OK so here's my problem:
    I'm trying to use the Airport connection with a linksys WRT54GS wireless router and I'm unable to access the internet. The Airport recognizes the wireless network, says its connected, but I still can't access the internet even after using a static IP address. When I go to Network Diagnostics and fill in the appropriate information, I get green status icons for all but 'Internet.' Even after running system update through a wired connection on the PBG4 thinking I may have had some outdated soft/firmware, I still couldn't connect to the internet. I've put more time into this than I should have at this point and am completely stumped as to how I can remedy this problem. If there's anyone out there that could help me out I'd really appreciate it. Thanks a lot!
    PowerBook G4 12"   Mac OS X (10.4.8)  

    if no one has any solutions, could someone please recommend a 3rd party wireless router that I may have better luck with? Thank you!

  • Can't login to local NON-admin accounts-Directory Access set to server

    I have a strange problem on a set of laptops that I cannot resolve and am hoping someone can help me.
    Here is the issue:
    I have a set of building laptops (PowerPC, OSX.4.11) that seemingly will not "search locally" in the authentication process. The logins seem to work fine for NETWORK logins to our Open Directory Master xserve, but these machines will not login to any LOCAL non-admin accounts. The local root and local admin account logins do, however, work fine. ?? The remainder of the building computers (Intel iMacs OSX.4.11) appear to have the exact same settings and login fine both locally and via the network home directories.
    I have tried the following:
    Deleted DirectoryService preferences folder (MacintoshHD-->Library-->Preferences->DirectoryService)
    Deleted the mcx cache in Directory Access
    Tried adding a new non-admin user to test (still will not login)
    Removed and re-created LDAP configuration (all set to custom)
    Tried setting the LDAP to the automatic settings ("Add DHCP-supplied LDAP servers to automatic search policies")
    Disabled all network connectivity (turned off Airport and disconnected the ethernet cable), still cannot login to local accounts
    Tried to bind in LDAP configuration (when I did bind the machine, it would no longer authenticate to the network authentication server, so I did an "unbind" and restarted and it went back to performing the network logins, but still will not login to local non-admin accounts).
    Reset passwords in System Prefs and also re-typed them in NetInfo Manager
    Deleted login keychains
    Deleted mcx.plist
    Reinstalled the OS from disk and local logins worked TEMPORARILY--UNTIL I set the LDAP directory access to authenticate to our server (which I also need for the network logins to work),then, the issue started again.
    *Same results with both ethernet and wireless connectivity enabled.
    *Note: I also manage these local accounts via WGM (installed on the local machine) and even tried disabling that and still no luck.
    Please help...I have spent hours and hours trying to find a solution and nothing seems to work! What am I missing??

    Mostly just a bump...
    How about that .local extension, or trailing / ?

  • Please recommend a best practices book

    Can someone recommend a core java best practices book.
    I have read several books and yet when someone says use a tagging interface... I just look at them and wonder what they are talking about.. then I google and find out.. There may be several such terms that I am not aware of... How do I learn about these terms like POJOs etc.. People keep using words like POJOs and then I find out its nothing but a java class object.. but how do I know that?
    Someone once said "You know only 5%, 20% you know you dont know, 75% you dont even know that you dont know".. Which book can give me that 75% ?
    I know basic datastructures etc.. but when to apply what is what I want to learn.
    A book which talks about when to use which datastructure, good usage of interface examples, and best practices that are used in real application production environment. Can someone please recommend a good book like that ? Is there any ? Real cases?

    Maybe this should be a different thread but how do
    programmers organize folders for projects?
    Every company has a common java classes shared by
    programmers I presume? That must be located in a
    central access place and I am curious how they
    organize folders?Folders? Maybe. Version control system, with a "commons" tree? Better.
    Have a look at Matt Raible's AppFuse. It's a fine example organization for a project.
    As for me, I do something like this:
    I build with Ant: http://ant.apache.org
    /source is the directory where anything I check out of version control will go.
    Under that:
    /java - .java source files.
    /lib - 3rd party JARs (e.g., JDBC drivers, etc.)
    /jsp - JSPs
    /etc - deployment descriptors, like web.xml, etc.
    /xml - XML files
    /xsl - XSL stylesheets
    /html - HTML files
    /css - cascading stylesheets
    /sql - SQL scripts for creating, altering, populating relational tables.
    %

  • I have the 4S and downloaded a fax reader application that converts the TIFF file to JPEG, solution they recommend is to go to settings, app-general-location services but I don't see a way to do this on my phone, help!

    I have the 4S and downloaded a fax reader application that converts the TIFF file to JPEG, solution they recommend is to go to settings, app-general-location services but I don't see a way to do this on my phone, help!

    If you are looking for this area, in the newer iOS, it is Settings>Privacy>Location Services. I'm not sure what you are trying to accomplish here, so I cannot give you more information. Is it possible you are trying to give this program access to photos in your Camera Roll? Please provide a little more information.

  • Looking for new All in One. Is Officejet as good as Photosmart? Please recommend an All in One.

    I have the HP Photosmart C7180 All in One that's a few years old and is starting to give me a lot of errors (mostly ink level errors).  I'm thinking about replacing it, because I want one that doesn't use as much ink -- and one that has a bigger scanner bed (at least 11 x 14 or bigger).  I'm a budding artist and I want to have the ability to scan in my drawings.
    However, I do print a few photos now and then.  Does anyone know if Officejets will print decent pictures?
    Please recommend an All in One (the newer the better) for my needs. 

    Thanks! It sounds like a potential nightmare. Does
    anyone have a different experience? I'm not
    committed to an all-in-one, but it does save space.
    If you're willing to take time and effort into the process, HP's MFDs and Brother's MFDs work... mostly. HP has even improved their drivers. It took 'em long enough.
    No, I repeat, no MFD I've ever seen has been trouble-free, Mac or Windows. That includes Epson, Canon, HP, Brother, and (ugggh!) Lexmark devices. They all give problems. Not necessarily the same problems, but problems. HPs and Brothers give the least trouble with Epson a close third... but YMMV. I know people who swear by Canon, while in my personal experience Canon devices have been... not so good. But it was a limited sample, and maybe I had lemons.
    Most MFDs (that is, everyone but Brother) don't easily do networking unless it's a Specific Feature™. My HP PSC1350, for instance, does not believe that such a thing as a network exists, and is that way if connected to Macs or Windows machines. I can make it visible over the network, but it's a pain.
    If you want wireless network printing, get a wireless router (hint: Apple sells something called an AirPort Base Station) or access point which has a USB port and supports putting printers on the network. Note that you'll likely not be able to scan over the network.
    There are network MFDs; HP makes some. They're expensive. The OfficeJet 74xx is $500, and it's the cheap HP network MFD. I do NOT own one, so I have no idea how well they work, other than they're HPs... which means that the hardware will probably be excellent, and the software dreck.

  • Directory Access and Permissions

    Hi,
    I work at a company that's having a problem setting up the new macs (Core 2 Duo iMac 24") our marketing department just ordered.
    The rest of our network uses windows, so we have active directory logins for everyone. We've setup the Directory Access on the new iMacs so that marketing users log in using their AD username and pw. The local user account that 10.4 generates is set to be a local admin, but the users are just normal users in AD.
    The problem we're having is with setting permissions for some Apps that require changes from the default settings. When I go to set permissions in the Info pane of a folder or app, I open the pull down menu for 'Owner' and go to 'Other...' at the bottom to grab the user from AD (because the user is not available in the top portion where local users can normally be selected). This is where the problem occurs. This opens up the "User Listing" box, which contains a long list of AD usernames, but does not have any AD usernames that were created less than 10 months ago. I checked with my Network Admin, and virtually no settings in terms of creating AD users have changed in the last two years.
    I don't know if this is a problem with settings on the AD side or the Mac side, but here's the Mac settings in Directory Access:
    +Services: AD is checked+
    +Authentication: Custom path selected, our domain is in the list+
    +Contacts: Same as Authentication+
    +Under AD:+
    +Forest and Domain are correct, computer is bound correctly.+
    +User Experience:+
    +Create mobile account is not selected.+
    +Force local home directory on startup is selected.+
    +Use UNC path from AD... is selected, smb: is selected as Network protocol.+
    +Default user shell is selected as '/bin/bash'+
    +Mappings: Nothing selected.+
    Administrative:
    +Prefer this domain server is checked and correct for our network+
    +Allow administration by is checked, domain admins and enterprise admins+
    +Allow authentication from any domain in the forest is selected+
    Is there anything in these settings that might cause the problem described above, or is the problem something else entirely, maybe on the AD side?
    I'm also wondering if anyone knows how to find out where Directory Access is grabbing this list of users from. Perhaps our Network Admin can find out what the problem is given that info.
    Thanks,
    Gabe
    Message was edited by: Gabe Stein

    I have exactly the same problem and ProtectHome wasn't the solution. "sudo minidlnad" works fine -- TV shows root and /home/blah/blah is accessible. However, I'm not able to make the daemon run as root. Just for testing purposes, I've made all the settings as loose as possible, but TV stills shows minidlna as username and the folder is not available (systemctl status reveals permission denied).
    minidlna.service:
    [Unit]
    Description=minidlna server
    After=network.target
    [Service]
    Type=simple
    User=root
    Group=root
    ExecStart=/usr/bin/minidlnad -S
    ProtectSystem=off
    ProtectHome=off
    PrivateDevices=on
    NoNewPrivileges=off
    [Install]
    WantedBy=multi-user.target
    minidlna.conf:
    user=root
    media_dir=/home/blah/blah
    What am I missing here? No possibility to run minidlna as root after the last update any more?
    Edit:
    Never mind. During all this testing I had forgotten "User=minidlna" to /etc/systemd/system/minidlna.service.d/override.conf. Daemon as root works after removing that line.
    Last edited by riivo (2015-03-19 14:38:18)

  • Problem with Directory Access

    Hi!
    I have a problem, I uninstall Directory Access by mistake and now I don't know how can I install it again. Any clues?

    The platform service doesn't seem to exist.
    Please use the following commad to load the Platform Service to the Access Manager.
    cd /opt/SUNWam/bin/
    ./amadmin -u amadmin -w password -s /etc/opt/SUNWam/config/xml/amPlatform.xml

  • Could not connect to the Active Directory. Active Directory Certificate Services will retry when processing requires Active Directory access

    Event properties – Event 91, Level Error, Event ID 91, Date and time 5/10/2012 11:29:48AM, Service CertificationAuthority
    General: 
    Could not connect to the Active Directory.
    Active Directory Certificate Services will retry when processing requires Active Directory access.
    We have a Windows 2008 Server Enterprise with AD . I would like to enable the service  "Certificate Services"  that
    allow me to enable radius to authenticate users wireless with the active directory.

    Hi, 
    Can you please check this forum or someone from Microsoft, as we have post here dating back from October that are not being answered.
    Everything for us is exactly the same as szucsati and Racom
    NMNM, 
    Please give us an answer on this as the link provided is absolutely useless.
    Thank you.

  • WLC based mobility-anchor guest access solution

    Hi everybody,
    My new setup with WLC baesed guest access solution is working well. I am using web based login authentication for wired & wireless solution. And everything is running through out the WLC. The WLC is granting access to is the internet for the guests. My question is how about printers and other devices that cannot make web based authentication. How can i get them to work in the same setup?
    best regards,
    Sahin

    For wired, you simply need to configure mac aut bypass on the printer switchports and point that to the ACS.
    If it's accepted, the port will go in the printer vlan, if not, you can chose the behavior (block access, put in another vlan, etc ...).
    For wireless, you need to enable "mac filtering" on the SSID, so it's best to create a separate SSID for the printers then because you want to authenticate those by mac address and you don't want that for the other clients probably.
    You can then also point the mac filtering towards ACS on the wlc.
    From there you can either have the macs stored locally on ACS or in your ACtive Directory or wherever you want.

  • Please recommend portable printer for MacBook Air

    Please recommend portable printer for MacBook Air...preferably budget but will consider investment for very good value and support. Ease of use is key.
    on the road but have access to Target, Best Buy type places. Thank you.

    The answer that "any"  printer from the popular vendors is simply not correct, however if you want a list of current compatible devices please click Printer and scanner software for Snow Leopard & Lion

  • When i try and open the auto cad Lt that i just downloaded i get this error The directory may be locked by another process or have been set Read Only. Directory: '/Users/hockaday' Please correct this problem and press OK to exit the application.

    i get this error why i try and open the auto cad that i just downloaded
    The directory may be locked by another process or have been set Read Only.
    Directory: '/Users/hockaday'
    Please correct this problem and press OK to exit the application.

    I did install it in the admin account.  Actually the computer has four accounts, one for my husband, where I installed it.  One for me which also is set to admin, one is called TEST and has nothing in it and one is guest user.
    I don't know how AutoCad is interfacing with the account.  That is why I am not sure what to do about it.  I read other threads in various places and some seemed to point to something having to do with having multiple users.  The solutions were not clear.  I was hoping someone else had this problem and could tell me what to do.  I tried apple support but no help.  I have not tried AutoCad yet as I assumed they wont help since this is a free educational version of their product.

  • Please recommend GPS App for Tour

    Hello, I have Verizon Wireless and would like to purchase a GPS for my BlackBerry Tour.  I see that there are a lot of different options.  I simply want a GPS that works like a Garmin, where it displays the streets and has a voice that tells me when to turn. I do have GPS activated on the phone so I just need an App that works with it other than Google Maps.  I tried a couple of free GPS apps and they sucked so I know that I have to pay if I want a good app. Please recommend me such a GPS app.  Thank you.

    This is not much of a solution, but if you switch to Sprint, they give you a free GPS application that works just like your Magellan/Garmin/etc.
    I would quite literally be lost without my Sprint Maps

  • Ldap anonymous directory access

    I have a PCI vulnerability titled "LDAP Anonymous Directory Access permitted" which I need to fix. I disabled anonymous binds in the props of the ldap server object in question. However I guess this was not the fix.
    Is there a difference between anonymous binds and anonymous directory access? I was being told this is my problem - that bind is different than directory access so I fixed the wrong thing. I thought ldap was the directory access protocol, and bind was the connection being made to the directory using ldap. Ok. I'll quit typing now. any help is appreciated.
    Stacie White

    I would recommend this forum: novell.support.edirectory.netware
    Far more traffic.
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Support Forums Volunteer Sysop
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.
    "StacieWhite" <[email protected]> wrote in message
    news:[email protected]..
    >
    > I have a PCI vulnerability titled "LDAP Anonymous Directory Access
    > permitted" which I need to fix. I disabled anonymous binds in the props
    > of the ldap server object in question. However I guess this was not the
    > fix.
    >
    > Is there a difference between anonymous binds and anonymous directory
    > access? I was being told this is my problem - that bind is different
    > than directory access so I fixed the wrong thing. I thought ldap was
    > the directory access protocol, and bind was the connection being made
    > to the directory using ldap. Ok. I'll quit typing now. any help is
    > appreciated.
    >
    > Stacie White
    >
    >
    > --
    > StacieWhite
    > ------------------------------------------------------------------------
    > StacieWhite's Profile: http://forums.novell.com/member.php?userid=1719
    > View this thread: http://forums.novell.com/showthread.php?t=331489
    >

Maybe you are looking for