L</>D is a land mark of Sri Lankan IT field. Thanks guys.
Posts made by root
-
RE: Lanka Developers Community T-shirtsposted in Announcements
-
RE: How to secure my Woocommerce site in Nginx server ?posted in Information Security
Special Block for woocommerce digital content security
location ~ /woocommerce_uploads { deny all; } -
RE: How to secure my Woocommerce site in Nginx server ?posted in Information Security
Add following content to /etc/nginx/sites-available/example.com file
#Deny access to wp-content folders for suspicious files location ~* ^/(wp-content)/(.*?)\.(zip|gz|tar|bzip2|7z)\$ { deny all; } location ~ ^/wp-content/uploads/sucuri { deny all; } location ~ ^/wp-content/updraft { deny all; }# Block nginx-help log from public viewing location ~* /wp-content/uploads/nginx-helper/ { deny all; } location ~ ^/(wp-includes/js/tinymce/wp-tinymce.php) { include /usr/local/nginx/conf/php.conf; }# Deny access to any files with a .php extension in the uploads directory # Works in sub-directory installs and also in multisite network location ~* /(?:uploads|files)/.*\.php\$ { deny all; }# Deny access to uploads that arenβt images, videos, music, etc. location ~* ^/wp-content/uploads/.*.(html|htm|shtml|php|js|swf|css)$ { deny all; }# Block PHP files in content directory. location ~* /wp-content/.*\.php\$ { deny all; }# Block PHP files in includes directory. location ~* /wp-includes/.*\.php\$ { deny all; }# Block PHP files in uploads, content, and includes directory. location ~* /(?:uploads|files|wp-content|wp-includes)/.*\.php\$ { deny all; }# Make sure files with the following extensions do not get loaded by nginx because nginx would display the source code, and these files can contain PASSWORDS! location ~* \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)\$|^(\..*|Entries.*|Repository|Root|Tag|Template)\$|\.php_ { return 444; }#nocgi location ~* \.(pl|cgi|py|sh|lua)\$ { return 444; }#disallow location ~* (w00tw00t) { return 444; } location ~* /(\.|wp-config\.php|wp-config\.txt|changelog\.txt|readme\.txt|readme\.html|license\.txt) { deny all; }Add Following Headers to /etc/nginx/sites-available/example.com file
add_header X-Frame-Options SAMEORIGIN;add_header X-Content-Type-Options nosniff;add_header X-XSS-Protection "1; mode=block";add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://ssl.google-analytics.com https://assets.zendesk.com https://connect.facebook.net; img-src 'self' https://ssl.google-analytics.com https://s-static.ak.facebook.com https://assets.zendesk.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://assets.zendesk.com; font-src 'self' https://themes.googleusercontent.com; frame-src https://assets.zendesk.com https://www.facebook.com https://s-static.ak.facebook.com https://tautt.zendesk.com; object-src 'none'";Source
-
RE: Mixed realityposted in General Discussion
mata thiyenne javascripts based programming brackground ekak. mata set wena engine eka mokadda kiyala poddak explain karanna
-
RE: Blockchain Meetup #5 - February 2019posted in Meetups & Workshop Sessions ( Free & Paid )
@Malith thanks for the info, keep posting
-
RE: Lanka Developers Meetupposted in General Discussion
Niyamai, apen full support eka hambenawa.. admin ta kiyamu wade start karanna plan ekak hadanna kiyala.
-
RE: what are the requirements and skills need to do an overseas job & which countries are the bestposted in Web Development
Yes, fiver is a best place to beginners.
-
RE: 500+ programming coursesposted in General Discussion
thanks bro. frecodecamp is a good resource for
developers -
RE: Developer Roadmap - 2019posted in Blogs
this is helpful for beginners to choose thier path. thanks admin.
-
RE: SQL injections β Know how to identify and prevent themposted in Meetups & Workshop Sessions ( Free & Paid )
thanks bro. very interested topic
-
RE: codeigniterposted in Web Development
Gas Orm is the best lightweight ORM for CI
http://gasorm-doc.taufanaditya.com -
RE: CSS Gridposted in Front-End Development
@akmal bootstrap walata loku community ekak thiyenawa ekai bootstrap ochchara famous wela thiyenne. example ekak gaththoth slider ekak danna bootstarp nathuwa kochchara loku wedak da. eth boostrap walata support karana sliders kochhara thiyenawada
-
RE: React Native Mobile Application Development Workshopposted in Events ( Free & Paid )
Intersted, is this free ?. can you provide agoogle form for registration
-
RE: what are the requirements and skills need to do an overseas job & which countries are the bestposted in Web Development
dn't go overseas. you can work in freelancer and upwork.. if you hv time, learn new technologies and rapid application development methodologies.