Tomcat password verification

Source: Internet
Author: User
Tags netbeans

When I opened tomcat in netbeans today, I found that password verification is required, which was previously not required. The cause has not been found. I guess there may be two factors, one is the recent installation of IIS, and the other is the upgrade of netbeans. However, I think the most likely factor is that I accidentally modified the tomcat configuration file.

 

The solution from the Internet is to look at the tomcat-user.xml file, the user name and password information in that. But after the modification is still not good, and later found that I modified is the installation directory of the tomcat-user.xml files, that is, the Catalina base Directory files, actually works is the Catalina base Directory files, and indeed, after viewing the tomcat-user.xml file under Catalina base, you can successfully log in using the username and password in it.

 

I read an article about website security on the InternetArticleIt makes sense. To make your website safer than most people's websites, an extremely simple way is to use as few default configurations as possible, such as the port number. You also need to set a password. I believe that many beginners (such as me) do not like to set passwords for Tomcat Manager, which may be a breakthrough for attacks by others.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.