in2code/in2frontendauthentication 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

in2code/in2frontendauthentication

Composer 安装命令:

composer require in2code/in2frontendauthentication

包简介

Simulate fe_groups login by IP address

README 文档

README

Introduction

TYPO3 extension to simulate fe-login for a group if IP-address (IPv4 and IPv6) fits. You can define multiple IPs and ranges per group in backend.

Introduction

Set an IP address in a fe_groups record

Define that a content should only be shown if a group has authenticated

Show content if authenticated in frontend

Note: This allows you to show/hide contentelements, pages and other records to a specific usergroup. But "showAtAnyLogin" or "hideAtAnyLogin" is not supported.

Requirements and installation

composer require in2code/in2frontendauthentication

This extension requires an installation via composer because of the usage of library s1lentium/iptools.

Example for IP and IP-Range definitions in fe_groups.ip_mask

127.0.0.1
127.0.0.0/12
127.0.0.*
1001:5a3:3100:0000:0000:0000:0000:0000
1001:5a3:3100:::::
1001:5a3:3100::/40
1001:5a3:3100:0000:*:*:*:*

You can use single ip addresses or ranges with subnetmask definition (e.g. /8). In addition it is possible to use * as wildcards. Simply define more ip addresses or ranges and split them with comma.

Supported TYPO3- and PHP-Versions

  • TYPO3 13.4

  • PHP 7.4

  • PHP 8.0

  • PHP 8.1

  • PHP 8.2

  • PHP 8.3

Supported Extension

  • fal_securedownload in version 4.0 or newer
  • staticfilecache (see notes below)

Static File Cache

The extension staticfilecache sets a cookie to identify, whether a user is logged in and the static file cache may not be used. It hooks into the normal authentication process, when the user is initialized. With EXT:in2frontendauthentication there are no specific frontend users, so it must be set here too.

This feature can be enabled in the extension settings in the extension manager.

Your Contribution

Pull requests are welcome in general! Nevertheless please don't forget to add a description to your pull requests. This is very helpful to understand what kind of issue the PR is going to solve.

  • Bugfixes: Please describe what kind of bug your fix solve and give me feedback how to reproduce the issue. I'm going to accept only bugfixes if I can reproduce the issue.
  • Features: Not every feature is relevant for the bulk of extension users. Please discuss a new feature before.

Contribution with ddev

Requirements

  1. Install ddev, see: https://ddev.readthedocs.io/en/stable/#installation
  2. Install git-lfs, see: https://git-lfs.github.com/

Installation

  1. Clone this repository
  2. Run ddev start
  3. Run ddev initialize to setup configurations and test database

Branches

  • Main Branch - Next Major Version
  • typo3-v12: Version 5.x for TYPO3 12
  • typo3-v13: Version V13 for TYPO3 13

Early Access Programm for TYPO3 14 support

ℹ️ TYPO3 14 compatibility

See EAP page (DE) or EAP page (EN) for more information how to get access to a TYPO3 14 version

Changelog

Version Date State Description
13.0.0 2025-08-97 TASK Update for TYPO3 13LTS
9.0.0 2024-02-08 TASK Update for TYPO3 11LTS and 12LTS
8.0.1 2023-04-25 Bugfix Adjust ext_emconf.php TYPO3 requirements to composer.json to also support TYPO3 10
8.0.0 2022-09-13 Feature Support also PHP 8.x now
7.0.1 2022-08-08 Bugfix Ensure that this extension works with beechit/fal-securedownload
7.0.0 2022-06-01 Task Update for TYPO3 11.5
6.0.0 2020-10-21 Task Update for TYPO3 9.5 or 10.4
5.0.2 2020-03-11 Bugfix Update dependencies to typo3/cms-core to enable installation in TYPO3 9
5.0.1 2020-03-02 Bugfix Prevent exception in ExtensionConfigurationUtility
5.0.0 2020-03-02 Feature Support subnetmask for IPv4 and IPv6 now in definitions, update requirements
4.0.0 2020-01-22 Feature Add support for IP V6. This is the first Release with the composer requirement "mlocati/ip-lib"
3.0.0 2020-01-20 Feature Support TYPO3 V9. This is the last release without composer requirement
2.0.3 2019-10-07 Bugfix Fix another regression for the latest feature
2.0.2 2019-10-07 Bugfix Change namespace to CookieService class
2.0.1 2019-10-07 Bugfix Fix exception when instantiating CookieService class of staticfilecache
2.0.0 2019-09-30 Feature Respect staticfilecache cookies
1.1.1 2017-07-18 Bugfix Signal update from fal_securedownload
1.1.0 2017-07-10 Feature Support EXT:fal_securedownload >= version 2.0.0
1.0.2 2016-08-03 Bugfix Allow multiple usergroups
1.0.1 2016-06-23 Bugfix Small fix in german locallang
1.0.0 2016-06-10 Task Initial release

in2code/in2frontendauthentication 适用场景与选型建议

in2code/in2frontendauthentication 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 30.92k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2016 年 10 月 03 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「IP」 「typo3」 「felogin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 in2code/in2frontendauthentication 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 in2code/in2frontendauthentication 我们能提供哪些服务?
定制开发 / 二次开发

基于 in2code/in2frontendauthentication 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 30.92k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 17
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2016-10-03