Your Cybersecurity 101 Guide to Home and Business
As technology continues to evolve and we spend more time on our computers and cell phones, we not only have more convenience but also more of a threat from cybercriminals that want to steal your data and your identity. If you are a business owner or a home user, you must be careful, or you could easily fall for a cybercrime scam. Here at the ADMFactory, we know about tech and security and the importance of it, and we have some common-sense tips and advice for securing your devices.
Sending emails with Golang
To send an email directly from Golang you can use the package smtp
which implements the Simple Mail Transfer
Protocol (SMTP) as defined in RFC 5321. You also need a mail server, for this tutorial will use the Gmail mail server.
Robots.txt File in SEO
A robots.txt file tells search engine crawlers which pages or files the crawler can or can't request from your site.
This is used mainly to avoid overloading your site with requests; it is not a mechanism for keeping a web page out
of Google. To keep a web page out of Google, you should use noindex
directives, or to password-protect
your page.
FTP file upload using cURL
How to upload files to FTP using cURL command line. The command is very simple: curl -T backup-file.tar.gz ftp://username:password@ftp.server.com/backup/
How to send emails using JavaMail
How to send emails using JavaMail. Simple example using a gmail account and proxy settings if needed.
GET/POST request with Apache HttpClient
GET/POST request tutorial using Apache HttpClient. The tutorial is using httpbin.org test server.