0%

I want to make the devices in my local network could access the internet through proxy. There are two use cases for me:

  1. Provide a proxy service in the local network. So an application could use the proxy setting to access the internet.
  2. For the application that DOES NOT have the proxy setting or DOES NOT use the system proxy setting(e.g., Youtube on the Nintendo Switch), create a transparent proxy service for those applications.

Prerequisites: you have set up a proxy service in the server.

阅读全文 »

最近在做的项目需要实现一套权限控制方案

项目使用Spring + Vue.js构建前后端分离的系统,实现了基于RESTful API的权限控制。

权限控制系统包含两部分:接口访问控制以及数据实体访问控制。

后端可以分为三层:Controller Layer, Service Layer, 以及Data Persistence Layer

阅读全文 »