Prevent video clips from being merged on or off the Web tracking surface.

Source: Internet
Author: User

Today, I want to ask for something to prevent the video from being downloaded in IE!
It should be said that it is not correct, but it is acceptable for general people-personally think :)
Let's take a look at the current process!

1. Foreground interface:

1 < ASP: datalist ID = "Dgclient" Runat = "Server" Repeatcolumns = "2" >
2 < Itemstyle Width = "50%" > </ Itemstyle >
3 < Itemtemplate >
4 < Table >
5 < Tr >
6 < TD >
7 < IMG SRC = './Showimage. aspx? Path = <% # Server. urlencode (databinder. eval (container. dataitem, "dtsmallimage"). tostring () % > 'Border = '0' width = "133" Height = "100"/>
8 </ TD >
9 < TD Class = "Intro0" >
10 <% # Databinder.Eval(Container. dataitem,"Dttitle") %>
11 < BR >
12 Members are exempt from downloading < BR >
13 > < A Href = '<% # Databinder. eval (container. dataitem, "dtbigimage ") % > '> Lower limit 1024*768 </ A >
14 < BR >
15 > < A Href = '<% # Databinder. eval (container. dataitem, "dtsmallimage ") % > '> Lower limit 800*600 </ A >
16 < BR >
17 </ TD >
18 </ Tr >
19 </ Table >
20 </ Itemtemplate >
21 </ ASP: datalist >

It mainly serves as the representative of the following sentence:<IMGSRC= './Showimage. aspx? Path = <% #Server. urlencode (databinder. eval (container. dataitem, "dtsmallimage"). tostring () %>'Border = '0'/>

The above sentence is through showimage. the aspx file is used to store images. The effect of the images is only the effect of the images. so what you see in the HTML code generation is . You cannot upload images because you cannot upload images, of course, in general, the screenshot can be used to obtain the corresponding screenshot. Let's take a look at it.
How can I prevent the video from being captured to obtain the correct picture?
2. The background of the showimage. aspx File 1 String Path = Request. querystring [ " Path " ];
2 String Earturl = Configurationsettings. deleettings [ " Earturl " ];
3 Path = Earturl + " /Networkmamage1/desktopsmallimages/ " + Path;
4 System. net. WebClient Client = New System. net. WebClient ();
5 String Expfilename = Filelib. getfileexname (PATH );
6 String Localpath = Server. mappath ( " ./New111. " + Expfilename );
7 If (System. Io. file. exists (localpath ))
8 {
9Filelib. deletefile (localpath );
10}
11 Client. downloadfile (path, localpath );

Because all the above images are placed under other Web platforms, the above images are saved
Upload the previous screenshot of new111.jpg in the foreground file. Because the numbers shown in the screenshot are uncertain, they are not fixed. Therefore, you must delete the original screenshot file before saving it.
The file is the latest file in the previous period. 1 System. Io. streamreader Reader = New System. Io. streamreader (localpath );
2
3 System. Io. Stream stream = Reader. basestream;
4 Byte [] Bys = New Byte [Stream. Length];
5 Stream. Read (bys, 0 ,( Int ) Stream. Length );
6 System. Io. memorystream memory = New System. Io. memorystream (bys, 0 ,( Int ) Stream. Length );
7 Stream. Close ();

As shown in the front-end, because multiple images need to be displayed on one plane, there is only one file at a time.
If there are more than one generation, when the file is being used in the next generation, it will be disabled because the first file is in use.
How to save it? Think about it. Generally, when a video is written, the hard image occupied by the video is empty.
When the file is stored in the memory, it is generated again. Because only one batch of files exists, the subsequent files must
Remove the previous files to keep the latest operations (that is, datalist will always use showimage at each time of the state. the aspx file is used to show the source image as the source image), but the source image cannot be deleted or
Save, so this talent uses the above generation to create a copy of the previous batch file and put it into the memorystream, and then end with stream for the actual batch. close ();1 Imagesentry. scaleimageslib scanle = New Imagesentry. scaleimageslib ();
2 If (Scanle. Create (memory, 133 , 100 ))
3 {
4Scanle. Show ();
5}
6 If (Scanle. lasterror ! = Null )
7 {
8//Extract a video clip
9}

The above code is used to handle the processing of the video contrast.
You can also add transparency, watermarks, and fuzzy processing to the video clips to be displayed, so that they can be captured.
It cannot achieve the actual effect.

I am so stupid

I hope you can make a lot of Corrections :)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.