Jump to content

Problems in PHP web application...


js08

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/275723-problems-in-php-web-application/
Share on other sites

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.