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
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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.