- [Narrator] You see this image?…It's posted here at our demo site.…Unfortunately, this other site…is stealing the image using a technique…known as hotlinking.…We can see this by inspecting the source code.…As you can see, the image is hosted at our demo site…perishablepress.net.…But notice the URL of this site.…This is not perishablepress.net.…So we see that the image is being hotlinked.…In general, hotlinking is what you call it…when some website, without permission,…links directly to a resource that is hosted…on a different server.…
So when a site hotlinks your images,…they essentially are stealing your bandwidth…and benefiting at your expense.…This happens all the time on the web,…but there is a sure fire _htaccess technique…for stopping it.…To stop other sites from hotlinking your resources…copy the Method 1 code snippet from the Exercise Files…for this tutorial.…Then open your sites route _htaccess file…and paste the snippet before any WordPress specific rules.…In plain language, this code does the following:…
Author
Updated
8/30/2019Released
9/16/2016- Backing up and restoring your site
- Setting up strong passwords
- Understanding users and roles
- Choosing trusted plugins and themes
- Changing and recovering passwords
- Configuring authentication keys
- Securing the login page
- Fighting spam in the comments
- Blocking access and detecting hacks
- Building a firewall for WordPress
- Detecting and blocking bots
- Auditing your WordPress security
Skill Level Intermediate
Duration
Views
Related Courses
-
Introduction
-
Welcome1m 3s
-
Using the exercise files2m 14s
-
-
1. Getting Started
-
Back up your site4m 6s
-
Restore your site5m 36s
-
Keep your site up to date4m 37s
-
-
2. Security Essentials
-
Implement strong passwords4m 34s
-
Understand users and roles3m 29s
-
Change and recover passwords3m 30s
-
Disable user registration2m 41s
-
-
3. Hardening WordPress
-
Prevent directory listings3m 59s
-
Remove version numbers3m 47s
-
Disable error display3m 7s
-
4. Improving Security with Plugins
-
Fight comment spam3m 22s
-
Secure your login page4m 34s
-
Stop user enumeration4m 50s
-
Monitor admin users4m 19s
-
Implement a firewall3m 6s
-
Block access6m 5s
-
Monitoring file changes4m 16s
-
-
5. Advanced Tips and Tricks
-
Stop file hotlinking4m 18s
-
Stop automated spam2m 32s
-
Detect and block bad bots4m 42s
-
Control proxy access4m 21s
-
Control admin access4m 59s
-
-
6. Applying Best Practices
-
Choose a good host6m 16s
-
Further security techniques6m 44s
-
Conclusion
-
Next steps2m 9s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Stop file hotlinking