js08 Posted March 16, 2013 Share Posted March 16, 2013 We are going to develop a web application using MySQL & PHP having following features: - Authors will upload their articles as .doc file and that can only be accessed by them & administrator. - Initially articles will be marked as private and after processing it will be available for public access. However, we are facing problem in implementing these features: 1) How to control public access in php coding when the files are private? so that visitors not able to access private files by changing url. 2) How to control visitors access to file download so that they must login before download any file? 3) We want a url handler and please provide a sample url handler for php? ( it should work like single point gateway for analyzing all requested urls & then forward them to appropriate programs to display records. Also to control which css template to use). 4) What is the best backup strategy for this web application? Looking forward your reply. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/275723-problems-in-php-web-application/ Share on other sites More sharing options...
ignace Posted March 16, 2013 Share Posted March 16, 2013 1 & 2. By simply making the documents not publicly accessible. For those who want to download a document, they need an URL with an encrypted limited-time key which allows them to download the document for say 12 hours. 3. We are not going to write the program for you. 4. What backup methods are available at your host? Quote Link to comment https://forums.phpfreaks.com/topic/275723-problems-in-php-web-application/#findComment-1418973 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.