Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. root
    3. Posts
    • Profile
    • Following 27
    • Followers 23
    • Topics 14
    • Posts 724
    • Best 182
    • Controversial 1
    • Groups 4

    Posts made by root

    • RE: firebase with laravel

      @ciaompe help wanted.

      posted in Back-End Development
      root
      root
    • RE: Top 7 Javascript Best Practices For Beginners 👍

      Nice post bro.

      posted in Front-End Development
      root
      root
    • RE: How to secure my Woocommerce site in Nginx server ?

      Special Block for woocommerce digital content security

      location ~ /woocommerce_uploads {
         deny  all;
      }
      
      posted in Information Security
      root
      root
    • RE: How to secure my Woocommerce site in Nginx server ?

      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


      1. https://gist.github.com/ethanpil/1bfd01a817a8198369efec5c4cde6628
      2. https://gist.github.com/plentz/6737338
      posted in Information Security
      root
      root
    • RE: Mixed reality

      @devR

      Thanks bro, mama try karala balannam

      posted in General Discussion
      root
      root
    • RE: Mixed reality

      @devR

      mata thiyenne javascripts based programming brackground ekak. mata set wena engine eka mokadda kiyala poddak explain karanna

      posted in General Discussion
      root
      root
    • RE: Blockchain Meetup #5 - February 2019

      @Malith thanks for the info, keep posting

      posted in Meetups & Workshop Sessions ( Free & Paid )
      root
      root
    • RE: Mixed reality

      Unity witharada thiyenne ?

      posted in General Discussion
      root
      root
    • RE: Lanka Developers Meetup

      Niyamai, apen full support eka hambenawa.. admin ta kiyamu wade start karanna plan ekak hadanna kiyala.

      posted in General Discussion
      root
      root
    • RE: what are the requirements and skills need to do an overseas job & which countries are the best

      @lahirunc

      Yes, fiver is a best place to beginners.

      posted in Web Development
      root
      root
    • RE: 500+ programming courses

      thanks bro. frecodecamp is a good resource for
      developers

      posted in General Discussion
      root
      root
    • RE: Developer Roadmap - 2019

      this is helpful for beginners to choose thier path. thanks admin.

      posted in Blogs
      root
      root
    • RE: SQL injections – Know how to identify and prevent them

      thanks bro. very interested topic

      posted in Meetups & Workshop Sessions ( Free & Paid )
      root
      root
    • RE: Java ArrayList

      we use list on python..

      posted in Blogs
      root
      root
    • RE: codeigniter

      Gas Orm is the best lightweight ORM for CI
      http://gasorm-doc.taufanaditya.com

      posted in Web Development
      root
      root
    • RE: CSS Grid

      @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

      posted in Front-End Development
      root
      root
    • RE: React Native Mobile Application Development Workshop

      Intersted, is this free ?. can you provide agoogle form for registration

      posted in Events ( Free & Paid )
      root
      root
    • RE: what are the requirements and skills need to do an overseas job & which countries are the best

      dn't go overseas. you can work in freelancer and upwork.. if you hv time, learn new technologies and rapid application development methodologies.

      posted in Web Development
      root
      root
    • RE: මොනවද මේ JWT කියන්නෙ ?

      good article. thnx bro

      posted in Blogs
      root
      root
    • 1
    • 2
    • 29
    • 30
    • 31
    • 32
    • 33
    • 36
    • 37
    • 31 / 37