This site is claiming to prevent the download of images and preventing screenshots. Is this truly possible to stop and can anyone crack it in their demos? What tools can be used to download an image set as a background?
http://www.iptlock.com/how.php
It isn't possible, no.
If the client can see it on their screen, then it exists on their computer. Even if that weren't the case, there is always the whole analog thing (people can literally take a picture of their screen).
If you have chrome: Just go to one of their demos, press ctrl+shift+c, and an inspector will show up, showing you all individual parts of the page. Then select the image from the list (servedemoimg) , right mouse click on it, and you can save the jpg. It is not possible to prevent people from downloading those files. And this company doesn't even make it particularly difficult.
Their scheme "works" by hiding the content whenever a key is pressed or the main window loses focus. They also attempt to detect that something has been copied to the clipboard and they replace it with some text ("It is prohibited to copy distribute or in any way alter these copyrighted images").
That means that if you press any key to copy the content, you'll just get the "locked" graphic. The same goes for switching to another app (like a screen capture app) because the screen capture app will have focus instead of the browser, causing the lock graphic to show. If you do manage to copy something to the clipboard, it immediately replaces the content with the text I mentined above.
Furthermore, their content is a background image so you can't easily print or right-click to copy the image by disabling JS.
However, it's pretty trivial to defeat. My first attempt using IE8 was trivial. When I went to the "protected" page, IE asked me if I wanted to allow the page to access the clipboard, and I clicked "Don't Allow". Then I pressed PrntScr and was able to paste the content into another program. This worked because that particular key isn't captured by the browser and I didn't allow the page to see my clipboard.
Then I tried again, this time allowing clipboard access. This time I used a screen capture program that automatically captures the foreground window after a set time delay. This worked because I was able to give the browser window focus, and the screen capture utility just saved the image as a file instead of putting it on the clipboard.
Lastly, I just saved the source as a file and saw background:url(servedemoimg.php?filename=IPTbusiness_graphicdesign_ITB). Just putting http://www.iptlock.com/servedemoimg.php?filename=IPTbusiness_lawyer_ITB into my browser's address bar made the complete "protected" content show up for me to download, print, email, etc.
Related
I have an app that lets users create a dynamic link (using firebase) to their information and that redirects to the play store first if they don't have the app installed yet. When the dynamic link gets created, it gets encoded in a QR code for easy sharing. Unfortunately some (not all) Android devices are cutting off a portion of the link so that it doesn't work.
So here is the QR code that gets generated:
After scanning it, some android devices show this on the screen:
If you select "copy", you get this text: "https://missionary.page.link?apn=com.quintessence.missionary&ibi=com.quintessence.missionary&link=https://missionary.page.link/missionaryDetails?missionaryID%3DnRLkLgbVQ94Af2uI2rQO"
This is the text that is supposed to be there, and if you then paste it in the browser, it works correctly and either opens the app or the google play store. If you select "Open in browser" instead, it cuts off a portion of the text and returns this:
Selecting the URL and copying it, shows that the last section of the text is getting cut off and it's trying to open this instead: "https://missionary.page.link/?apn=com.quintessence.missionary&ibi=com.quintessence.missionary&link=https".
Any help with understanding why this is happening and what I can do to prevent it would be great!
I have tried googling a solution but didn't find anything about text in QR codes getting cut off.
When watching youtube videos, left/right arrows are used to jump back/forth several seconds.
How do I do this with vimperator?
(Oh my bad, is this question too short?)
Note that even with vimperator enabled, if you have flash player in focus, vimperator will not be able to interfere with the player's hot keys. That being said, if you are using flash player on youtube, then for as long as it is in focus, left and right keys will work whether vimperator is running or not.
Personally for me if the player is not in focus, arrow keys do not jump back/forth several seconds even without vimperator. However, if they used to for you, may be because you are using the HTML5 player (or in general, if you need to enable site-specific hot keys on any other website) this is how you do it:
If you just want to enable them temporarily once, just press the INSERT button. The text in the status line should change to IGNORE ALL KEYS, in which case vimperator will not interfere with any site-specific hot keys. Pressing INSERT again will get back to vimperator normal mode.
If you want to make certain websites to permanently ignore vimperator (for instance, I use OneNote online, which is not very vimperator-friendly), then add lines similar to these to your .vimperatorrc (on linux it's in your home folder)
autocmd LocationChange .* js modes.passAllKeys = false
autocmd LocationChange onedrive\\.live\\.com js modes.passAllKeys = true
Replace onedrive url wiht the youtube or the URL of any other website on which you want vimperator to disable itself.
To start off, I have searched google & SO (Images are showing up as red x's on IE, shows up fine in other browsers), tried out the suggestions, but they did not resolve my issue.
I am trying to create a transparent image by following the code shown at: How do you Draw Transparent Image using System.Drawing?. I am using a 3rd party mapping control "Simplovation"
However, this is what I get when I run my webpage:
How can I get the actual image to appear?
I tried converting to RGB, but no luck.
Based on the code in "How do you Draw Transparent Image using System.Drawing" the actual image should appear like:
There could be a long list of potential problems here, let's address 3 of them:
Permissions
You imply that you are creating this image from code. How are you doing that? If the IIs worker process, running in the user context of the application pool account, is creating this image, does it create/save it to a location that is accesible anonymously? (or whatever your authentication model is)
File locked?
Again, since you are implying your are creating the image from code, to you close the file handle properly?
Path.
You say that the image Url is correct, but are you really 100% sure? Press F12 on IE and use the developer tools to determine if you get any type of HTTP error when IE is trying to request the image.
IE is very specific about the image type and actual image content. In other words, IE cannot display if image type and content doesn't match.
For example, renaming just file extension - bmp to gif - doesn't work in IE, although it is not an issue in other browser.
Easiest way to check is to browse that page in other browser. If you can see image in other browser, you can make sure that image format is not correct.
I have written a small picture script which shows a directory listing with thumbnails and also previews of the pictures.
Directory listing example
Image preview example
Source code
In some cases, when you click through several image previews (you can also use the arrow keys left/right to do that faster), some images don't fully load (and they are only shown partly then).
I think this has started to appear more often since I am preloading the next few pictures but it also has appeared before. This also occurs most often if you switch the images very fast.
I wonder why this appears and how I can avoid this. I guess that the browser somehow looses some connection to the server (or the server closes it unexpectedly for some reason). Thus I tried to work around this by setting Content-Length (and I was hoping that the browser would reconnect automatically if the file was not received fully) but that didn't helped.
Also, in the browser, a normal reload of the page doesn't help, I have to force a full reload.
In the address bar of the browser navigation tab, it shows the absolute path of the file, but it is so long that it gets truncated and I can't read the exact file that I'm working on! Is there any way to fix this?
Yeah, I got it... just hover your mouse over the truncated field for a couple seconds and a tooltip will pop up with the full address. I was just frantically clicking on it like an impatient moron and it was canceling the scheduled tooltip display.
I'm not sure what a "browser navigation tab" is. In Dreamweaver CS5 on Windows, the full url is displayed in the title bar of the document. When documents are maximized a tab will display the file name, and the full file url will display in the title bar on the right hand side. This full url gets truncated when there are too many documents open. The truncation is done from the left so you may lose some of the folders, but you should still see the file name. If this is the case, then a quick solution is to close some documents. Or Perhaps don't nest your files so deeply, or don't have really long file/folder names.
Another option is an extension that I wrote a while ago called Document Path Toolbar: http://communitymx.com/abstract.cfm?cid=A01CEAEA3CA40B36 The extension adds a toolbar that has a text field that displays the full url to the local file. It has an option that allows you to updated the width of the text field if you have longer file paths (I think that such modifications requires a restart of Dreamweaver). It is commercial but not much. As I no longer contribute to CommunityMX, I won't receive anything for a purchase should you decide it is something that you could benefit from.