6 Ways To Secure MikroTik Router

Fadıl

As a network administrator, the first thing is to Secure the Mikrotik (Proxy Router) that we manage, by closing the gaps that might be taken into “attack loopholes” by irresponsible users.

Here Are Some Ways To Secure MikroTik Router:

  1. Credentials, change the default admin password username.
  2. Disable Some Services.
  3. Disable Bandwidth Test Server.
  4. Deactivate the MAC Server feature.
  5. Disable Neighbors Discovery.
  6. Disable the RoMON feature.
  7. Update the RouterOS version.

Credentials

The first thing you can do to secure the Mikrotik Router before your router is discoverable to the internet cloud is to change the default admin username & password Of Mikrotik. You should also replace the default username “admin” to another username.

Introduction to Java :Constructing .Zip File

Fadıl

Building a Zip Archive

The first archive you will want to build is the ZIP archive, the oldest and most supported of the three. For this reason, it should be easy for you to find a ZIP archive generation program for whichever platform you are using. When choosing a ZIP utility program, however, you should be careful to choose one that supports non-8.3 filenames, since Java class files usually have names which are longer.

PHP Function: Built-in Functions part 4

Fadıl

Today we will look at some Date and Time functions.

date()
The date() function returns the current server timestamp, formatted according to to a given set of parameters. Its syntax is
date(format, [timestamp]);
The date() Function Formats are located at https://techsoftcenter.com/articles.php?view=238

checkdate()
The checkdate() function validates a given date. Successful validation means that the year is between 0 and 32767, the month is between 1 and 12, and the proper number of days are in each month (leap years are accounted for). Its syntax is
checkdate(month, day, year);

Introduction to Java : Distributing Applets part-2

Fadıl

.zip, .cab, and .jar

Distribution History

As we noted earlier, for most of the history of Java development, there was really no packaging. For the most part, the developer was required to put each class file as a separate file on the web server in the same hierarchy as the packages defined in your Java files. For example, if you had a com.test.utility package you would need a directory hierarchy of com/test/utility under the directory with the main applet class.

PHP Function: Built-in Functions part 3

Fadıl

Welcome back to the not so exciting built in functions part 3!
Today we will deal with Database Connectivity Functions for MySQL.

*Numerous PHP functions exist for connecting  to adn querying a MySQL server. Following are some basic functions and their syntax.*

mysql_connect()
This function opens a connection to MySQL. It requires a server name, username and password.
$connection = mysql_connect(“servername”, “username”, “password”);

mysql_create_db()
This function creates a database on the MySQL server. It requires a valid established connection.
mysql_create_db(“DBName”);