Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文件是否可以.htaccess只允许来自特定 MAC 地址而不是 IP 地址的请求?
.htaccess
如果答案是yes,如何?
yes
简短的回答:没有
以太网 MAC 不在 IP 数据包中传输,仅在以太网报头中传输。当 IP 数据包离开 LAN(技术上是本地广播域)时,以太网报头被剥离,MAC 地址“丢失”。