data folder protection how to configure?

could some one help to explain what does it mean, and where should i put the command into which file ?
Block access to the data directory by changing your web server configuration.
For example, if your data directory is /var/www/data and your web server is Apache, adding this to your Apache configuration should work:

i just install and start to think how to do this in my directory
is it add below command into .htaccess ? my directory name is "abc"
<Directory /var/www/abc/> AllowOverride None order deny,allow deny from all </Directory>

big thanks
Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking