www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Server-Side Development > Other

    Other Discussion and technical support for any other scripting methods.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 11-07-2009, 08:56 AM
    bennystylee bennystylee is offline
    Registered User
     
    Join Date: Jul 2008
    Posts: 65
    bypass Auth htaccess on dev setup? for flash,xml,php get request?

    Hi all an itneresting one here that I am sure would be possible.

    I am running a dev setup behind a .htaccess password and have an xml get php request that sends information to flash.

    With the password turned on it doesnt work, with password off it works.

    I would love to find a way to let this get request through so I dont have to remove password from my htaccess to test.

    Any ideas?

    I presume it would be something along the lines of

    Code:
    AuthUserFile /blah/blah/.htpasswd
    AuthName "Dev"
    AuthType Basic
    require valid-user
    Order Deny,Allow
    Deny from all
    Allow from your own ip
    Allow from 127.0.0.1
    that lets me in on the browser but the get is not read by the flash file - is this something to do with flash.

    Its not a biggy as said I can just turn the password on or off, but curiosoty has got me here.

    Thanks in advance
    Reply With Quote
      #2  
    Old 11-07-2009, 09:10 AM
    kiwibrit kiwibrit is offline
    Registered User
     
    Join Date: Jun 2005
    Location: United Kingdom
    Posts: 902
    I don't think you can do it. You could just use robots.txt so that a site or directory is not available to search engines - or set up Apache for use on localhost on your own computer to do your development prior to upload.
    Reply With Quote
      #3  
    Old 11-07-2009, 09:21 AM
    bennystylee bennystylee is offline
    Registered User
     
    Join Date: Jul 2008
    Posts: 65
    I am also on a local development setup - just read actually that I am being a little paranoid with using htpasswords on my local dev setup on my machine as the server isnt released to the web so I have turned off password on local machines dev for the moment.

    Thanks
    Reply With Quote
      #4  
    Old 11-09-2009, 05:20 AM
    bennystylee bennystylee is offline
    Registered User
     
    Join Date: Jul 2008
    Posts: 65
    stumbled on it whilst trying to do somethign else - make the request a system request rather than a http - this means the htpassword isnt needed
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes 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 Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 09:41 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.