473,395 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How To Control Uploading, Downloading & Streaming With Php ?

Webhosts & Programmers!

I want to know from you, since I want to run a public proxy then would I still become a target like you say even after adding the following measures ? If so, then how to prevent all this from happening ? The following are the steps I am taking. Do you mind checking if they are safe & sound or not ?

1. Not run an SMTP. This is to prevent anyone using my mail server*to spam;

2. Publicise the user's IP along with the links he visits*to prevent anyone from daring to view illegal sites or upload anything malicious or download anything illegal;

3. Force the user to open an account under a username that matches his domain name and log his username/domain along with the links he visits. Example:

Time|IP|Username|KW Searched|Visited Page

02:59pm|143.133.135.138|www.bytes.com|php 7 books|php-book.com

During registration, I would get the php script to prompt the user to submit an email address under his domain name. The email would contain his account activation link. That is how I would make sure that it is Tom Boy who is submitting tom@tomboy.com and not any **** & Harry.*

4. Added a Banned Words Filter that replaces banned words on a proxied page. Will change this to add instead a feature that prevents loading a page that contains banned words.

5. Add a php function*in the proxy script*to block file downloads. That should prevent anyone downloading related to illegal stuffs.

Example, the proxy would replace .mp3, mp4 extensions from links. Change:

https://www.bytes.com/download/php.mp4

to:

https://www.bytes.com/download/php.***

That way, any link containing a downloadable extension would not be fetched by the proxy.

Do you think this tactic would work to prevent downloads ?

6. Add php function(s)*in the proxy script*to block audio/video streaming. That should prevent anyone downloading or uploading or viewing/playing any files related to illegal stuffs.

7. Add php function(s)*in the proxy script*to block uploads. That should prevent anyone uploading any files related to illegal stuffs.



QUESTIONS

Q1. So, what is that*php function that blocks downloads*? That should prevent anyone downloading malware/viruses, etc. using my proxy ?

Q2. And, what is that*php function that blocks audio/video streaming (downloading) ? That should prevent anyone viewing video streams using my proxy ?

Q3. And, what is that*php function that blocks uploads*? That should prevent anyone uploading malware/viruses, etc. using my proxy.

Q4. And, what is that*php function that blocks audio/video streaming (uploading) ? That should prevent anyone uploading viruses infected video files, etc. using my proxy.

Q5. And, what is that php function that prevents the user's browser from playing any audio/video files on a website ? Eg. Prevent playing youtube vids, vimeo vids, metacafe vids, clickbank vids,*etc. ?

Q6. And,*what is that php function that records bandwidth usage (uploads & downloads and audio/video streaming) ? I might aswell give each account just enough data limit for them to browse text pages but not enough limit to view or listen to audio/video pages (like youtube vid pages).

Q7. Any other features to add to prevent anyone abusing my public proxy service ? If so, which php functions should I use to add them ?


Thanks!
Nov 6 '17 #1
0 1542

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Programmer | last post by:
Hi all I have an VB.NET object registered in a Web Page with the <object classid="http:My.dll#Name /> Now. The Question is that a want to have many params inside the object tag that are...
35
by: sathya | last post by:
Q. Write a program to print all input lines that are longer than 80 characters. Code taken from http://users.powernet.co.uk/eton/kandr2/krx117.html ...
3
by: | last post by:
Hi,all I want to change Control's size&location in runtime ,(C#) but i dont know how to do! :(so, can you provide me with document about this. my email: zhonghua@rinpak.com.cn ...
5
by: jqpdev | last post by:
Hello all... I'm coming from a Borland Delphi background. Delphi has a specific component called a Data Module. In the designer the Data Module behaves like a windows form. A developer can...
13
by: Jason Shohet | last post by:
I have an ascx control, and it needs a value called 'orgID' which the parent page will have. I want to avoid the parent page setting values in fields on the ascx control since this violates...
2
by: D. Shane Fowlkes | last post by:
I'm about to build in some functionality where my client's staff can do some kind of basic upload to a folder or series of folders on our web server and allow authenticated users to know the UID...
2
by: samp | last post by:
Hi All, How can i download files using web browser control? I want to be able to automtaically download files giving the file a location and name. I am getting the download file dialog box which...
1
by: Faisal Shafiq | last post by:
I want to upload a file direct to the Silverlight Streaming Service from a Web Client such as silverlight application. As per our product requirement we want to upload a .WMV file directly from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.