thesnarkie Posted February 11, 2010 Report Share Posted February 11, 2010 sveiki! ir fails, kuram es gribu ļaut piekļūt tikai no kaut kādas noteiktas servera ip. ar $_SERVER['REMOTE_ADDR'] to var izdarīt, bet kāds var uztaisīt tādu drošu pārbaudi pret visiem proxy u.tml? Quote Link to comment Share on other sites More sharing options...
bobsters Posted February 11, 2010 Report Share Posted February 11, 2010 vieglak butu ja uzliktu ka lai to failu dabutu jaievada parole! un ja tam kam japieklust pie ta faila mainas ip tad tev jamaina konfiguracija Quote Link to comment Share on other sites More sharing options...
thesnarkie Posted February 11, 2010 Author Report Share Posted February 11, 2010 to failu izsauks serveris nevis lietotājs. Quote Link to comment Share on other sites More sharing options...
bobsters Posted February 11, 2010 Report Share Posted February 11, 2010 vienalga lai ari serveris! vnk uztaisi kad serveris megina pieklut failam vinam jaievada parole! Quote Link to comment Share on other sites More sharing options...
thesnarkie Posted February 11, 2010 Author Report Share Posted February 11, 2010 (edited) serveris no kura tiks izsaukts URL nepados tādus mainīgos uz URL. (jo tas ir viens sms pakalpojumu sniedzējs) tāpēc vienīgā iespēja ir pārliecināties, ka servera ip no kura izsaukts url ir vienāda ar doto ip failā. Edited February 11, 2010 by thesnarkie Quote Link to comment Share on other sites More sharing options...
2easy Posted February 11, 2010 Report Share Posted February 11, 2010 ir fails, kuram es gribu ļaut piekļūt tikai no kaut kādas noteiktas servera ip. ar $_SERVER['REMOTE_ADDR'] to var izdarīt, bet kāds var uztaisīt tādu drošu pārbaudi pret visiem proxy u.tml? "visiem proxy" būs cita ip, tāpēc tava pārbaude ar $_SERVER['REMOTE_ADDR'] ir droša Quote Link to comment Share on other sites More sharing options...
thesnarkie Posted February 11, 2010 Author Report Share Posted February 11, 2010 Paldies, tas ir tas, ko gribēju dzirdēt. (: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.