Cookies and localStorage

Distinction and Practice of Local Storage, Cook and Session Storage 1. Cookie cookies. Its size limit is about 4KB, invented by Lou Montulli, a former employee of Netscape in March 1993. Its main purpose is to save login information, such as you can see "remember passwords" when you log into a website market, which is usually achieve ...

Posted on Mon, 19 Aug 2019 20:15:32 -0700 by supinum

Spring Boot Unified Exceptions are handled and parsed like this, isn't it?

Abnormal Speech "To cross the glacier of the Yellow River, we will travel all over the world with snow." No matter in life or in the computer world, there will inevitably be an exception. Last article RESTful API returns uniform JSON data format Explains the handling of uniform returns, which is a normal situation for requests; this a ...

Posted on Mon, 19 Aug 2019 17:50:09 -0700 by thewitt

2. Spring Security Custom User Authentication Process

Custom landing page: Create a simple login.html landing page under the static folder <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Sign in</title> </head> <body> <h2&g ...

Posted on Mon, 19 Aug 2019 06:59:38 -0700 by wallabee

nginx cross-domain, anti-theft chain, compression and other small functions in detail

Links to the original text: http://www.studyshare.cn/software/details/1173/0 I. Cross-border Cross-domain originates from the browser security specification formulated by the W3C organization, which does not allow websites within a domain name to acc ...

Posted on Sun, 18 Aug 2019 23:53:55 -0700 by 182x

Remedial Series-springboot-restful Applications

1. Objectives Understand what Restful is, basic concepts and styles; Can use SpringBoot to implement a set of basic Reestful style interfaces; Use Swagger to generate clear interface documentation. 2. Getting Started with Restful What is RE ...

Posted on Sun, 18 Aug 2019 19:20:43 -0700 by matchu

Front End Engineering-Automatic Image Compression

The team started a new project, hoping to build on the engineering of the original project, and then came up with the idea of automatic image compression. The automatic image compression here is not in the web pack construction phase, but in git commit. pre-commit pre-commit is one of the many hooks of git hook. It can be executed before every ...

Posted on Sun, 18 Aug 2019 06:13:36 -0700 by stvs

VSCode uses gcc/g++ of MinGW-w64 to write debugger under windows

VSCode uses gcc/g++ of MinGW-w64 to write debugger under windows If you want to reproduce it, please indicate the source: http://blog.csdn.net/itas109 QQ Technical Exchange Group: 129518033 Article Directory VSCode uses gcc/g++ of MinGW-w64 to ...

Posted on Sat, 17 Aug 2019 17:42:17 -0700 by chuspy

[Fast SpringBoot] Filter XSS script attacks (including json format)

What is an XSS attack? XSS attack, which is called cross-site scripting attack, is to avoid confusion with the abbreviation of Cascading Style Sheets (CSS). Therefore, cross-site scripting attack is abbreviated as XSS. XSS is a computer security v ...

Posted on Sat, 17 Aug 2019 02:28:59 -0700 by Daggeth

Data x Data Synchronization: A Simple Practice of Mysql 2 Mysql (Local windows) (Containing Several Solutions to Compile Errors)

This paper uses datax in windows environment and refers to it in Linux environment. Development tools and environmental parameters: Windows environment: IDEA, JDK 1.8, Maven 3.6.0, Python 2.7.16 Linux environment: MySQL 5.7.25 (deployed on tw ...

Posted on Fri, 16 Aug 2019 02:37:50 -0700 by shivangp

Introduction of Nodejs Core Module

github article link: https://github.com/Vibing/blo... Learning nodejs requires mastering its core, just as learning JavaScript requires mastering functions, objects, data types, BOM, DOM, etc. Noejs has many cores. Here we introduce several cores: Events module, fs module, stream usage, http module. Events Events-driven, non-blocking, asynchron ...

Posted on Fri, 16 Aug 2019 01:12:25 -0700 by BLINDGUY