Поддержка серверов

SECURITY: методы, функции, константы класса Битрикс


Блог разработчика

9 августа 2016 ResizeImageGet и простой водяной знак налету

Сегодня поговорим о том как проще всего воткнуть водяной знак на картинки в Битрикс. Например, на все изображения каталога.

21 июля 2016 Добавление вкладки в CRM коробки Битрикс24

В этом посте я покажу, как легко и просто добавить вкладку в сущность CRM. И не просто добавить, а вывести там свой контент.

21 июля 2016 Как просто обращаться из коробки Битрикс24 на сайт на базе Битрикс

К примеру вам хочется внутренним скриптом дернуть с сайта-магазина информацию, которая там, в свою очередь, закрыта некоторыми правами. Например, админскими. Можно конечно мутить свой REST, или иной формат общения, но проще всего воспользоваться штатным инструментом:

События модуля security

СобытиеВызывается
OnBeforeLocalRedirectCSecurityRedirect::IsActive
OnPageStartCSecurityAntiVirus::IsActive
OnBeforePrologCSecurityFilter::IsActive
OnBeforeUserLoginCSecurityUser::isActive

Константы модуля security

КонстантаПроверяется
BX_SECURITY_LOCAL_REDIRECTCSecurityRedirect::EndBufferContent
SITE_IDCSecurityAntiVirus::dolog
BX_UTFCSecurityCloudMonitorRequest::decodeResponse
LICENSE_KEYCSecurityCloudMonitorRequest::getLicenseKey
BX_SECURITY_SESSION_READONLYCSecuritySessionMC::Init
BX_SECURITY_SESSION_VIRTUALCSecuritySessionVirtual::isStorageEnabled
ADMIN_SECTIONCSecurityEventMessageFormatter::__construct
ANTIVIRUS_CREATE_TRACECSecurityAntiVirus::dolog
BX_MEMCACHE_CLUSTERCSecuritySystemInformation::getMemcacheSID
BX_CACHE_SIDCSecuritySessionMC::getPrefix
BX_MEMCACHE_HOSTCSecuritySystemInformation::getMemCacheInfoFromConstants
BX_MEMCACHE_PORTCSecuritySystemInformation::getMemCacheInfoFromConstants
BX_SECURITY_SHOW_MESSAGECSecurityFilter::showForm
BX_PUBLIC_MODECSecurityFilter::showForm
POST_FORM_ACTION_URICSecurityFilter::showHtmlForm
BX_SECURITY_SKIP_FRAMECHECKCSecurityFrame::SetHeader
BX_SECURITY_AV_STARTEDCSecurityAntiVirus::OnPageStart
BX_SECURITY_AV_AFTER_EPILOGCSecurityAntiVirus::PHPShutdown
BX_SECURITY_SESSION_MEMCACHE_EXLOCKCSecuritySessionMC::read
BX_SECURITY_SESSION_MEMCACHE_HOSTCSecuritySessionMC::isStorageEnabled
BX_SECURITY_SESSION_MEMCACHE_PORTCSecuritySessionMC::newConnection
BX_SECURITY_SQL_LOG_BINCSecurityDB::Init
MYSQL_TABLE_TYPECSecurityDB::Init
PHP_OSPath::getFilters

Список функций и методов модуля security

Метод
CSecurityRedirect::BeforeLocalRedirect(&$url, $skip_security_check)
CSecurityRedirect::GetDefaultMessage($language_id = false)
CSecurityRedirect::EndBufferContent(&$content)
CSecurityRedirect::ReplaceHREF($matches)
CSecurityRedirect::GetUrls()
CSecurityRedirect::GetDomains()
CSecurityRedirect::IsActive()
CSecurityRedirect::SetActive($bActive = false)
CSecurityRedirect::Update($arUrls)
CSecurityRedirect::GetList()
CSecuritySiteChecker::__construct($pTests = array(), $pIsFirstStart = false, $pIsCheckRequirementsNeeded = true)
CSecuritySiteChecker::startTesting($pParams = array())
CSecuritySiteChecker::runTestPackage($pType = "", $pIsFirstStart = false, $pIsCheckRequirementsNeeded = true)
CSecuritySiteChecker::getPercent()
CSecuritySiteChecker::getList($pFilter = array(), $pMaxCount = 1)
CSecuritySiteChecker::addResults($pResults)
CSecuritySiteChecker::getLastTestingInfo()
CSecuritySiteChecker::clearTemporaryData()
CSecuritySiteChecker::isNewTestNeeded()
CSecuritySiteChecker::getFormatedDate($timestamp)
CSecuritySiteChecker::clearCache()
CSecuritySiteChecker::isAnyCheckingExists()
CSecuritySiteChecker::finalizeLastTest()
CSecuritySiteChecker::isAllTestCompleted()
CSecuritySiteChecker::calculateCriticalResults($pResults = array())
CSecuritySiteChecker::OnAdminInformerInsertItems()
CSecuritySiteChecker::getCurrentTestName()
CSecuritySiteChecker::makeParamsForTest($pTestName, $pParams)
CSecuritySiteChecker::getNextStep()
CSecuritySiteChecker::initializeAvailableTests()
CSecuritySiteChecker::initializeNeededTests($pTests)
CSecurityEnvironmentTest::__construct()
CSecurityEnvironmentTest::checkUploadScriptExecution()
CSecurityEnvironmentTest::checkUploadNegotiationEnabled()
CSecurityEnvironmentTest::isHtaccessOverrided()
CSecurityEnvironmentTest::checkPhpUserAndGroup($minUid = self::MIN_UID, $minGid = self::MIN_GID)
CSecurityEnvironmentTest::getUploadDir()
CSecurityEnvironmentTest::getCurrentHost()
CSecurityEnvironmentTest::getCurrentSiteUrl()
CSecurityEnvironmentTest::doRequestToLocalhost($pPath)
CSecurityEnvironmentTest::isScriptExecutable($pFileName, $pText, $pSearch)
CSecurityEnvironmentTest::getTmpDirFromEnv()
CSecurityEnvironmentTest::getTmpDir($pPhpSettingKey = "upload_tmp_dir")
CSecurityEnvironmentTest::getSessionUniqID()
CSecurityEnvironmentTest::checkCollectivePhpSession()
CSecurityEnvironmentTest::checkPhpSessionDir()
CSecurityEnvironmentTest::getCurrentUID()
CSecurityEnvironmentTest::getCurrentGID()
CSecurityEnvironmentTest::formatUID($uid)
CSecurityEnvironmentTest::formatGID($gid)
CSecurityEnvironmentTest::formatFilePermissions($perms)
CSecurityEnvironmentTest::checkBitrixTempPath()
CSecuritySiteConfigurationTest::__construct()
CSecuritySiteConfigurationTest::checkScriptExtension()
CSecuritySiteConfigurationTest::checkSecurityLevel()
CSecuritySiteConfigurationTest::checkDbDebug()
CSecuritySiteConfigurationTest::checkErrorReporting()
CSecuritySiteConfigurationTest::checkExceptionDebug()
CSecuritySiteConfigurationTest::checkModulesVersion()
CSecuritySiteConfigurationTest::checkDbPassword()
CSecuritySiteConfigurationTest::getAvailableUpdates()
CSecuritySiteConfigurationTest::AdminPolicyLevel()
CSecurityCloudMonitorRequest::__construct($action, $protocolVersion, $token = "")
CSecurityCloudMonitorRequest::setCheckingToken($checkingToken)
CSecurityCloudMonitorRequest::getCheckingToken()
CSecurityCloudMonitorRequest::receiveData($action)
CSecurityCloudMonitorRequest::isOk()
CSecurityCloudMonitorRequest::isFatalError()
CSecurityCloudMonitorRequest::isError()
CSecurityCloudMonitorRequest::isSuccess()
CSecurityCloudMonitorRequest::getValue($key)
CSecurityCloudMonitorRequest::checkStatus($status)
CSecurityCloudMonitorRequest::getPayload($action = "check", $collectInformation = true)
CSecurityCloudMonitorRequest::decodeResponse($response)
CSecurityCloudMonitorRequest::buildCheckerUrl($host)
CSecurityCloudMonitorRequest::getServiceHost()
CSecurityCloudMonitorRequest::sendRequest(array $payload)
CSecurityCloudMonitorRequest::getLicenseKey()
CSecurityCloudMonitorRequest::getSystemInformation()
CSecurityCloudMonitorRequest::getAdditionalInformation()
CSecurityCloudMonitorRequest::getHostName()
CSecurityCloudMonitorRequest::getServerPort()
CSecurityCloudMonitorRequest::getDomainName()
CSecurityFilePermissionsTest::__construct()
CSecurityFilePermissionsTest::__destruct()
CSecurityFilePermissionsTest::checkRequirements($params = array())
CSecurityFilePermissionsTest::check(array $params = array())
CSecurityFilePermissionsTest::isInterestingDir($pFileName)
CSecurityFilePermissionsTest::isInterestingFile($pFileName)
CSecurityFilePermissionsTest::checkWorldWritableDirRecursive($pDir)
CSecurityFilePermissionsTest::addFilePath($pFilePath)
CSecurityFilePermissionsTest::getFilesPath()
CSecurityFilePermissionsTest::getFilesPathInString($pGlue = "<br>")
CSecurityTaintCheckingTest::__construct()
CSecurityTaintCheckingTest::checkRequirements($params = array())
CSecurityTaintCheckingTest::check(array $params = array())
CSecurityTaintCheckingTest::formatResults($pResults)
CSecurityTaintCheckingTest::formatErrors($pErrors)
CSecurityTaintCheckingTest::formatDetail($pDetail)
CSecurityPhpConfigurationTest::__construct()
CSecurityPhpConfigurationTest::checkPhpEntropy()
CSecurityPhpConfigurationTest::checkPhpEntropyConfigs()
CSecurityPhpConfigurationTest::checkRequestOrder()
CSecurityPhpConfigurationTest::checkMbstringSubstitute()
CSecurityPhpConfigurationTest::isPhpConfVarOff($name)
CSecurityPhpConfigurationTest::isPhpConfVarOn($name)
CSecurityPhpConfigurationTest::isPhpConfVarEquals($name, $value)
CSecurityPhpConfigurationTest::isPhpConfVarNotEquals($name, $value)
CSecurityUserTest::__construct()
CSecurityUserTest::__destruct()
CSecurityUserTest::check(array $params = array())
CSecurityUserTest::checkOtp()
CSecurityUserTest::formatRecommendation(array $weakUsers)
CSecurityUserTest::getUserPassword($id)
CSecurityUserTest::getNextUserId($id)
CSecurityUserTest::getUsersLogins(array $ids)
CSecurityUserTest::isUserPassword($salt, $hash, $password)
CSecurityUserTest::getPasswordDictionary()
CSecurityUserTest::getAdminUserList($limit = 0, $minId = 0)
CSecurityUserTest::isTimeOut()
CSecurityBaseTest::getName()
CSecurityBaseTest::checkRequirements($params = array())
CSecurityBaseTest::check(array $params = array())
CSecurityBaseTest::getInternalName()
CSecurityBaseTest::initializeParams(array $params = array())
CSecurityBaseTest::isRunOnWin()
CSecurityBaseTest::getFilePerm($path)
CSecurityBaseTest::isWorldWritable($path)
CSecurityBaseTest::isWorldReadable($path)
CSecurityBaseTest::isWorldAccessible($path)
CSecurityBaseTest::getParam($name, $defaultValue = "")
CSecurityBaseTest::isDebug()
CSecurityBaseTest::getDetailErrors()
CSecurityBaseTest::getDetailText($baseMessageKey, array $placeholders = array())
CSecurityBaseTest::getRecommendationText($baseMessageKey, array $placeholders = array())
CSecurityBaseTest::getTitleText($baseMessageKey, array $placeholders = array())
CSecurityBaseTest::addDetailError($title, $critical, $detail, $recommendation = "", $additionalInfo = "")
CSecurityBaseTest::pushDetailError(array $error)
CSecurityBaseTest::addUnformattedDetailError($baseMessageKey, $critical, $additionalInfo = "")
CSecurityBaseTest::formatDetailError($baseMessageKey, $critical, $additionalInfo = "")
CSecurityBaseTest::removeDocumentRoot($path)
CSecurityTestsPackage::getTestsPackage($pType = "")
CSecurityTestsPackage::getAllTests()
CSecurityTestsPackage::getPackage($pType = "")
CSecurityCloudMonitorTest::__construct()
CSecurityCloudMonitorTest::checkRequirements($params = array())
CSecurityCloudMonitorTest::check(array $params = array())
CSecurityCloudMonitorTest::getResult()
CSecurityCloudMonitorTest::receiveResults()
CSecurityCloudMonitorTest::isCheckRequestNotSended()
CSecurityCloudMonitorTest::doCheckRequest()
CSecurityCloudMonitorTest::setCheckingToken($token)
CSecurityCloudMonitorTest::getCheckingToken()
CSecurityCloudMonitorTest::setTimeOut($timeOut)
CSecurityCloudMonitorTest::setCheckingResult(array $result)
CSecurityCloudMonitorTest::stopChecking($message = '')
CSecurityCloudMonitorTest::formatResults(array $results)
CSecurityCloudMonitorTest::getTimeout()
CSecuritySessionDB::Init()
CSecuritySessionDB::open($savePath, $sessionName)
CSecuritySessionDB::close()
CSecuritySessionDB::read($id)
CSecuritySessionDB::write($id, $sessionData)
CSecuritySessionDB::destroy($id)
CSecuritySessionDB::gc($maxLifeTime)
CSecuritySessionDB::isValidId($pId)
CSecuritySessionVirtual::isStorageEnabled()
CSecuritySessionVirtual::Init()
CSecuritySessionVirtual::open($savePath, $sessionName)
CSecuritySessionVirtual::close()
CSecuritySessionVirtual::read($id)
CSecuritySessionVirtual::write($id, $sessionData)
CSecuritySessionVirtual::destroy($id)
CSecuritySessionVirtual::gc($maxLifeTime)
CSecurityIPRule::Add($arFields)
CSecurityIPRule::Delete($ID)
CSecurityIPRule::Update($ID, $arFields)
CSecurityIPRule::UpdateRuleMasks($IPRULE_ID, $arInclMasks = false, $arExclMasks = false)
CSecurityIPRule::UpdateRuleIPs($IPRULE_ID, $arInclIPs=false, $arExclIPs=false)
CSecurityIPRule::ip2number($ip)
CSecurityIPRule::CheckIP($arInclIPs=false, $arExclIPs=false)
CSecurityIPRule::CheckFields(&$arFields, $ID)
CSecurityIPRule::GetRuleInclMasks($IPRULE_ID)
CSecurityIPRule::DeleteRuleExclFiles($files)
CSecurityIPRule::AddRuleExclFiles($files)
CSecurityIPRule::GetRuleExclFiles($files)
CSecurityIPRule::GetRuleExclMasks($IPRULE_ID)
CSecurityIPRule::GetRuleInclIPs($IPRULE_ID)
CSecurityIPRule::GetRuleExclIPs($IPRULE_ID)
CSecurityIPRule::GetList($arSelect, $arFilter, $arOrder)
CSecurityIPRule::GetActiveCount()
CSecurityIPRule::IsActive()
CSecurityIPRule::SetActive($bActive = false, $end_time = 0)
CSecurityIPRule::CheckAntiFile($return_message = false)
CSecurityIPRule::OnPageStart($use_query = false)
CSecurityIPRule::isValidUri($uri)
CSecurityIPRule::CleanUpAgent()
CSecurityXSSDetect::__construct($options = array())
CSecurityXSSDetect::OnEndBufferContent(&$content)
CSecurityXSSDetect::process(&$content)
CSecurityXSSDetect::getQuotes()
CSecurityXSSDetect::removeQuotedStrings($string, $isSaveQuotes = true)
CSecurityXSSDetect::setAction($action)
CSecurityXSSDetect::setLog($log)
CSecurityXSSDetect::logVariable($name, $value, $sourceScript)
CSecurityXSSDetect::CreateTrace($var_name, $str, $script)
CSecurityXSSDetect::pushQuote($quote)
CSecurityXSSDetect::findInArray($string, $searches)
CSecurityXSSDetect::isDangerBody($body)
CSecurityXSSDetect::getFilteredScriptBody($body)
CSecurityXSSDetect::getFilteredScript($strs)
CSecurityXSSDetect::filter($string)
CSecurityXSSDetect::addVariable($name, $value)
CSecurityXSSDetect::extractVariablesFromArray($name, $array)
CSecurityXSSDetect::fastStrpos($haystack, $needle)
CSecurityXSSDetect::fastSubstr($string, $start, $length = null)
CSecurityEvent::getInstance()
CSecurityEvent::doLog($severity, $auditType, $itemName, $itemDescription)
CSecurityEvent::getSyslogPriorities()
CSecurityEvent::getSyslogFacilities()
CSecurityEvent::getEventsCount($timestamp = '')
CSecurityEvent::getMessageFormatter()
CSecurityEvent::__construct()
CSecurityEvent::initializeFileEngine()
CSecurityEvent::initializeDBEngine()
CSecurityEvent::initializeSyslogEngine()
CSecurityEvent::isRunOnWin()
CSecurityEvent::sanitizeMessage($message)
CSecurityEvent::__clone()
CSecurityEvent::__wakeup()
CSecurityEventMessageFormatter::__construct($messageFormat = "", $userInfoFormat = "")
CSecurityEventMessageFormatter::getDefaultMessageFormat()
CSecurityEventMessageFormatter::getDefaultUserInfoFormat()
CSecurityEventMessageFormatter::getAvailableMessagePlaceholders()
CSecurityEventMessageFormatter::getAvailableUserInfoPlaceholders()
CSecurityEventMessageFormatter::format($auditType, $itemName, $itemDescription)
CSecurityEventMessageFormatter::getUserInfo()
CSecurityXSSDetectVariables::addVariable($name, $value)
CSecurityXSSDetectVariables::getQuoteSearchValues()
CSecurityXSSDetectVariables::getSearchValues()
CSecurityXSSDetectVariables::isEmpty()
CSecurityXSSDetectVariables::pushValue($name, $value, $containsQuote = false)
CSecurityXSSDetectVariables::parseVariable($name, $value)
CSecurityXSSDetectVariables::lazyParseVariables()
CSecuritySystemInformation::getSystemInformation()
CSecuritySystemInformation::getAdditionalInformation()
CSecuritySystemInformation::getCurrentHost()
CSecuritySystemInformation::getCurrentHostName()
CSecuritySystemInformation::isRunOnWin()
CSecuritySystemInformation::isCliMode()
CSecuritySystemInformation::isIpValid($ip, $allowPrivate = false, $allowRes = false)
CSecuritySystemInformation::getSites()
CSecuritySystemInformation::getPullingInfo()
CSecuritySystemInformation::getEnvironmentInfo()
CSecuritySystemInformation::getBitrixVMVersion()
CSecuritySystemInformation::getPhpInfo()
CSecuritySystemInformation::getDbInfo()
CSecuritySystemInformation::getMemcacheSID()
CSecuritySystemInformation::getMemCacheInfoFromCluster()
CSecuritySystemInformation::getMemCacheInfoFromConstants()
CSecuritySystemInformation::getMemCachedHosts()
CSecuritySystemInformation::getMemCacheInfo()
CSecuritySystemInformation::getDBHosts()
CSecuritySystemInformation::getDBHostsFromCluster()
CSecuritySystemInformation::getDBHostsFromConstants()
CSecurityFilter::__construct($customOptions = array(), $char = "")
CSecurityFilter::OnBeforeProlog()
CSecurityFilter::IsActive()
CSecurityFilter::SetActive($bActive = false)
CSecurityFilter::GetAuditTypes()
CSecurityFilter::GetEventsCount($timestampX = '')
CSecurityFilter::OnAdminInformerInsertItems()
CSecurityFilter::ClearTmpFiles()
CSecurityFilter::testXSS($pValue, $pAction = "clear")
CSecurityFilter::process()
CSecurityFilter::getAuditors()
CSecurityFilter::getAuditorInstances()
CSecurityFilter::overrideSuperGlobals()
CSecurityFilter::isAuditorsTriggered()
CSecurityFilter::isSomethingChanged()
CSecurityFilter::getChangedVars()
CSecurityFilter::getHttpRequest()
CSecurityFilter::isBlockNeeded()
CSecurityFilter::currentUserHaveRightsForSkip()
CSecurityFilter::blockCurrentUser($ip = "")
CSecurityFilter::getSafetyGlobals()
CSecurityFilter::cleanGlobals()
CSecurityFilter::getSuperGlobalArray($type)
CSecurityFilter::getRequestOrder()
CSecurityFilter::reconstructRequest()
CSecurityFilter::restoreGlobals()
CSecurityFilter::doPostProcessActions()
CSecurityFilter::showForm()
CSecurityFilter::showTextForm()
CSecurityFilter::showAjaxForm()
CSecurityFilter::showHtmlForm($originalPostVars = array())
CSecurityFilter::formatHiddenFields(array $array, $prefix = null)
CSecurityFrame::SetHeader()
CSecurityFrame::IsActive()
CSecurityFrame::SetActive($bActive = false)
CSecurityFrameMask::Update($arMasks)
CSecurityFrameMask::GetList()
CSecurityFrameMask::Check($siteId, $uri)
CSecurityUser::getCachedOtp($userId)
CSecurityUser::onBeforeUserLogin(&$arParams)
CSecurityUser::update($arFields)
CSecurityUser::onUserDelete($userId)
CSecurityUser::isActive()
CSecurityUser::setActive($pActive = false)
CSecurityUser::OnAfterUserLogout()
CSecurityUser::IsOtpMandatory()
CSecurityUser::IsUserOtpActive($userId)
CSecurityUser::IsUserSkipMandatoryRights($userId)
CSecurityUser::IsUserOtpExist($userId)
CSecurityUser::DeactivateUserOtp($userId, $days = 0)
CSecurityUser::DeferUserOtp($userId, $days = 0)
CSecurityUser::ActivateUserOtp($userId)
CSecurityUser::GetDeactivateUntil($userId)
CSecurityUser::GetInitialDate($userId)
CSecurityTemporaryStorage::__construct($sessionKey = '', $forceFlush = false)
CSecurityTemporaryStorage::clearAll()
CSecurityTemporaryStorage::clearKey($key)
CSecurityTemporaryStorage::initializeSessionData($sessionKey = '')
CSecurityTemporaryStorage::flushData()
CSecurityTemporaryStorage::setData($key, $value)
CSecurityTemporaryStorage::getString($key)
CSecurityTemporaryStorage::getInt($key)
CSecurityTemporaryStorage::getBool($key)
CSecurityTemporaryStorage::isEmpty($key)
CSecurityTemporaryStorage::isExists($key)
CSecurityTemporaryStorage::increment($key)
CSecurityTemporaryStorage::decrement($key)
CSecurityTemporaryStorage::getArray($key)
CSecurityTemporaryStorage::getArrayPop($key)
CSecurityTemporaryStorage::pushToArray($key, $value)
CSecurityAntiVirus::__construct($place = "body")
CSecurityAntiVirus::IsActive()
CSecurityAntiVirus::SetActive($bActive = false)
CSecurityAntiVirus::GetAuditTypes()
CSecurityAntiVirus::OnPageStart()
CSecurityAntiVirus::OnEndBufferContent(&$content)
CSecurityAntiVirus::OnAfterEpilog()
CSecurityAntiVirus::PHPShutdown()
CSecurityAntiVirus::GetWhiteList()
CSecurityAntiVirus::UpdateWhiteList($arWhiteList)
CSecurityAntiVirus::isInWhiteList()
CSecurityAntiVirus::returnfromcache()
CSecurityAntiVirus::addtocache()
CSecurityAntiVirus::dolog()
CSecurityAntiVirus::end_okblock()
CSecurityAntiVirus::end_whiteblock()
CSecurityAntiVirus::end_blkblock()
CSecurityAntiVirus::CreateTrace()
CSecurityAntiVirus::Analyze(&$content)
CSecurityAntiVirus::returnblockrating()
CSecurityAntiVirus::rulescriptglobals()
CSecurityAntiVirus::rulescriptblocks()
CSecurityAntiVirus::ruleframevisiblity()
CSecurityAntiVirus::rulescriptbasics()
CSecurityAntiVirus::rulescriptvbscript()
CSecurityAntiVirus::ruleallsources()
CSecurityAntiVirus::rulescriptlenghts()
CSecurityAntiVirus::rulescriptfrequensy()
CSecurityAntiVirus::rulescriptwhiterules()
CSecurityAntiVirus::rulescriptnamerules()
CSecurityAntiVirus::getstatchars(&$str)
CSecurityAntiVirus::getnames_cb($m)
CSecurityAntiVirus::getnames($str)
CSecurityAntiVirus::isnormalname($nm, &$l)
CSecurityAntiVirus::returnscriptbody($str)
CSecurityAntiVirus::isSafetyRequest()
CSecurityFilterMask::Update($arMasks)
CSecurityFilterMask::GetList()
CSecurityFilterMask::Check($siteId, $uri)
CSecuritySessionMC::Init()
CSecuritySessionMC::open($savePath, $sessionName)
CSecuritySessionMC::close()
CSecuritySessionMC::read($id)
CSecuritySessionMC::write($id, $sessionData)
CSecuritySessionMC::destroy($id)
CSecuritySessionMC::gc($maxLifeTime)
CSecuritySessionMC::isStorageEnabled()
CSecuritySessionMC::isConnected()
CSecuritySessionMC::isValidId($pId)
CSecuritySessionMC::getPrefix()
CSecuritySessionMC::newConnection()
CSecuritySessionMC::closeConnection()
CSecuritySession::Init()
CSecuritySession::triggerFatalError($pMessage = "")
CSecuritySession::CleanUpAgent()
CSecuritySession::UpdateSessID()
CSecuritySession::isOldSessionIdExist()
CSecuritySession::getOldSessionId($cleanUp = false)
CSecuritySession::checkSessionId($id)
CSecuritySession::activate()
CSecuritySession::deactivate()
CSecuritySession::registerHandler($class)
CSecuritySession::createSid()
CSecurityHtmlEntity::decodeCb($entity)
CSecurityHtmlEntity::decodeCbHex($entity)
CSecurityHtmlEntity::decode($string)
CSecurityHtmlEntity::decodeString($pString)
CSecurityDB::Init($bDoConnect = false)
CSecurityDB::Disconnect()
CSecurityDB::CurrentTimeFunction()
CSecurityDB::SecondsAgo($sec)
CSecurityDB::Query($strSql, $error_position)
CSecurityDB::QueryBind($strSql, $arBinds, $error_position)
CSecurityDB::Fetch($result)
CSecurityDB::Lock($id, $timeout = 60)
CSecurityDB::LockTable($table_name, $lock_id)
CSecurityDB::UnlockTable($table_lock)
HostRestriction::onPageStart()
HostRestriction::__construct()
HostRestriction::process($host = null)
HostRestriction::isValidHost($host)
HostRestriction::getProperties()
HostRestriction::setProperties(array $properties)
HostRestriction::getAction()
HostRestriction::getActionOptions()
HostRestriction::setAction($action, array $options = array())
HostRestriction::getLogging()
HostRestriction::setLogging($isLogNeeded = true)
HostRestriction::getActive()
HostRestriction::setActive($isActive = false)
HostRestriction::getHosts()
HostRestriction::setHosts($hosts, $ignoreChecking = false)
HostRestriction::getValidationRegExp()
HostRestriction::save()
HostRestriction::isBound()
HostRestriction::getTargetHost()
HostRestriction::log($host)
HostRestriction::doActions()
HostRestriction::genValidationRegExp($hosts)
HostRestriction::checkNewHosts($hosts)
OtpEvents::onRecheckDeactivate()
TotpAlgorithm::__construct()
TotpAlgorithm::verify($input, $params = '0:0', $time = null)
TotpAlgorithm::generateUri($label, array $opts = array())
TotpAlgorithm::timecode($timestamp)
TotpAlgorithm::getInterval()
TotpAlgorithm::getSyncParameters($inputA, $inputB)
TotpAlgorithm::getDescription()
Otp::__construct($algorithm = null)
Otp::getByUser($userId)
Otp::getByType($type)
Otp::setType($type)
Otp::getType()
Otp::getAlgorithm()
Otp::getProvisioningUri(array $opts = array())
Otp::regenerate($newSecret = null)
Otp::verify($input, $updateParams = true)
Otp::isAttemptsReached()
Otp::getSyncParameters($inputA, $inputB)
Otp::syncParameters($inputA, $inputB = null)
Otp::save()
Otp::delete()
Otp::activate()
Otp::deactivate($days = 0)
Otp::defer($days = 0)
Otp::setUserInfo(array $userInfo)
Otp::setInitialDate(Type\DateTime $date)
Otp::getInitialDate()
Otp::setDeactivateUntil($date)
Otp::getDeactivateUntil()
Otp::setSkipMandatory($isSkipped = true)
Otp::isMandatorySkipped()
Otp::getInitialTimestamp()
Otp::setUserId($userId)
Otp::getUserId()
Otp::setActive($isActive)
Otp::isActivated()
Otp::isInitialized()
Otp::setAttempts($attemptsCount)
Otp::getAttempts()
Otp::setParams($params)
Otp::getParams()
Otp::getSecret()
Otp::getHexSecret()
Otp::getAppSecret()
Otp::setSecret($secret)
Otp::setHexSecret($hexValue)
Otp::setAppSecret($value)
Otp::getIssuer()
Otp::setIssuer($issuer)
Otp::getLabel($issuer = null)
Otp::setLabel($label)
Otp::getContext()
Otp::setContext(\Bitrix\Main\Context $context)
Otp::setUserLogin($login)
Otp::getUserLogin()
Otp::getDefaultIssuer()
Otp::generateLabel($issuer = null)
Otp::getMaxLoginAttempts()
Otp::getRememberLifetime()
Otp::getRememberIpMask()
Otp::canSkipMandatory()
Otp::canSkipMandatoryByRights()
Otp::canSkipByCookie()
Otp::getSkipCookieValue()
Otp::setSkipCookie()
Otp::isDbRecordExists()
Otp::getPolicy($name)
Otp::clearGlobalCache()
Otp::verifyUser(array $params)
Otp::isOtpRequired()
Otp::isOtpRequiredByMandatory()
Otp::isCaptchaRequired()
Otp::getDeferredParams()
Otp::setDeferredParams($params)
Otp::setSkipMandatoryDays($days = 2)
Otp::getSkipMandatoryDays()
Otp::setMandatoryUsing($isMandatory = true)
Otp::isMandatoryUsing()
Otp::setMandatoryRights(array $rights)
Otp::getMandatoryRights()
Otp::setDefaultType($value)
Otp::getDefaultType()
Otp::getAvailableTypes()
Otp::getTypesDescription()
Otp::isOtpEnabled()
Otp::isRecoveryCodesEnabled()
HotpAlgorithm::__construct()
HotpAlgorithm::verify($input, $params = 0)
HotpAlgorithm::generateUri($label, array $opts = array())
HotpAlgorithm::getSyncParameters($inputA, $inputB)
HotpAlgorithm::getDescription()
RecoveryCodesTable::getTableName()
RecoveryCodesTable::getMap()
RecoveryCodesTable::clearByUser($userId)
RecoveryCodesTable::regenerateCodes($userId)
RecoveryCodesTable::useCode($userId, $searchCode)
OtpAlgorithm::verify($input, $params = null)
OtpAlgorithm::getSyncParameters($inputA, $inputB)
OtpAlgorithm::getDescription()
OtpAlgorithm::isTwoCodeRequired()
OtpAlgorithm::setSecret($secret)
OtpAlgorithm::getSecret()
OtpAlgorithm::generateUri($label, array $opts = array())
OtpAlgorithm::generateOTP($counter)
OtpAlgorithm::toByte($value)
OtpAlgorithm::isStringsEqual($expected, $actual)
OtpAlgorithm::getDigest()
OtpAlgorithm::getDigits()
OtpAlgorithm::getType()
OtpAlgorithm::getAppScheme()
UserTable::getTableName()
UserTable::getMap()
UserTable::onAfterDelete(Entity\Event $event)
Server::filter(array $values, $isReturnChangedOnly = true)
Request::__construct($customOptions = array())
Request::setAuditors(array $auditors)
Request::getChangedVars()
Request::filter(array $values, $isReturnChangedOnly = true)
Request::isAuditorsTriggered()
Request::onFilterStarted()
Request::onFilterFinished()
Request::filterVar($context, $value, $name)
Request::filterArray($context, array $array, $name, $skipKeyPreg = '')
Request::isActionValid($action)
Request::logVariable($value, $name, $auditorName)
Request::adjustPcreBacktrackLimit($string)
Request::getValidActions()
Request::setAction($action)
Request::setLog($log)
Request::isFilterAction()
Request::isClearAction()
Request::isLogNeeded()
Request::pushChangedVar($context, $value, $name)
Xss::process($value)
Xss::initializeWhiteList()
Xss::getFilters()
Xss::getWhiteList()
Xss::processWhiteList($value, $action = 'store')
Sql::getFilters()
Path::getFilters()
Base::__construct($splittingChar = '')
Base::process($value)
Base::getFilteredValue()
Base::getName()
Base::setFilteredValue($string)
Base::setSplittingChar($char)
Base::getSplittingChar($customChar = '')
Base::getSplittingString($splitItemsCount = 2, $customSplitChar = '')
Base::initializeFilters()
Base::getFilters()
Base32::encode($string)
Base32::decode($base32String)
Base32::chunk($binaryString, $bits)
SessionTable::getTableName()
SessionTable::getConnectionName()
SessionTable::getMap()
SessionTable::lock($id, $timeout = 60)
SessionTable::unlock($id)
SessionTable::deleteOlderThan($sec)
LogicException::__construct($message = '', $locMessageKey = '', $code = 0, $file = '', $line = 0, \Exception $previous = null)
LogicException::getLocMessage()
security::security()
security::GetModuleTasks()
security::InstallDB($arParams = array())
security::UnInstallDB($arParams = array())
security::InstallEvents()
security::UnInstallEvents()
security::InstallFiles($arParams = array())
security::UnInstallFiles()
security::DoInstall()
security::DoUninstall()
security::GetModuleRightList()