locked
Private Photo Viewing on Godaddy.com RRS feed

  • Question

  • User663224950 posted
    I've figured out almost all of my problems, but there is still one that is lingering with me.  For background, I used the Personal Website Starter Kit.  The problem I have is that I want to have a private photo album that someone has to be logged in before they can see it.  It worked fine locally, but once I uploaded it to the GoDaddy server, it has ceased to work.  The sign-ons are now working correctly (that was a headache in itself).  The problem that I am having now is that the only way a person can view the photos is if they are an Administrator.  I want the members to be able to see the photos, but I do not want them having the capability of uploading or deleting the photos.  Has anyone found a workaround for this?
    Tuesday, February 27, 2007 1:09 PM

All replies

  • User663224950 posted
    Anyone?
    Wednesday, February 28, 2007 7:41 PM
  • User-2003048288 posted
    Check the ~/album/web.config to see who has access.
    Wednesday, February 28, 2007 10:16 PM
  • User-1420559138 posted

    Add this in your web.config file..

    <location path="Albums.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators, friends"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

     

    Cheers

     

    Uday

    Thursday, April 19, 2007 9:30 AM