A
A
Alexey2019-10-29 22:07:29
PHP
Alexey, 2019-10-29 22:07:29

Is the SaaS operator a personal data operator?

Actually, subject.
Why this question again and again? Because I still have not found a clear answer on the Internet. A lot of text, reasoning experienced and not very lawyers, and others with them. As a result - absolutely opposite conclusions. Let's say I'm the owner of a SaaS service. My servers (VDS) are from a Russian host. In my SaaS system, there are companies that process the personal data of their customers in it. I, in turn, ensure the smooth operation of the service by protecting traffic using SSL encryption. Am I a PD operator?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
catrinblaidd, 2018-09-20
@magic_healthy_hair

<?php
  \error_reporting(0); // запрещаем вывод сообщений о возможных ошибках
  
  function test_mail($char) { // функция, проверяющая реальность адреса
    return (boolean) \preg_match('/[\w\d\._-][email protected][\w\d\._-]+\.[\w\d]{2,}/u', $char);
  }

  function find_mail($maillist, $email) { // функция, проверяющая наличие адреса в базе
    $result = FALSE;
    foreach ($maillist as $key => $part) {
      if ($email == \trim($part)) {
        $result = $key; // возвращаем порядковый номер адреса, если он найден
        break;
      }
    }
    return $result;
  }
  
  function add_mail($file, $email) {
    \file_put_contents($file, "$email\n", FILE_APPEND);
  }
  
  function remove_mail($file, $maillist, $key) {
    unset($maillist[$key]);
    \file_put_contents($file, \implode('', $maillist));
  }
  
  $message = ''; // здесь будет сообщение о результате действия  
  if (!empty($_POST)) { // если форма отправлена
    $fromemail = '[email protected]'; // адрес администратора для отправки ошибок
    $email = \trim(\strtolower(\htmlentities($_POST['email']))); // очищаем введённый адрес
    $file = "maillist.txt"; // файл, содержащий адреса
    
    if (\file_exists($file)) { // файл существует
      $maillist = \file($file);
      if (!empty($email) && test_mail($email)) { // email не пустой и правильный
        $key = find_mail($maillist, $email); // номер адреса в базе или FALSE, если такого нет
        if (isset($_POST['subscribe'])) { // запрошена подписка на рассылку
          if ($key === FALSE) { // email нет в базе
            add_mail($file, $email);
            $message = "E-mail: $email добавлен в базу рассылки.";
          } else { // email уже есть в базе
            $message = "E-mail: $email уже есть в базе рассылки.";
          }
        } elseif (isset($_POST['unsubscribe'])) { // запрошена отписка от рассылки
          if ($key === FALSE) { // email нет в базе
            $message = "E-mail: $email не найден в базе рассылки.";
          } else {
            remove_mail($file, $maillist, $key);
            $message = "E-mail: $email удален из базы рассылки.";
          }
        }
      } else { // email пустой или неправильный
        $message = "E-mail: $email не сушествует.";
      }
    } else { // файл не существует
      $message = "Не найден файл $file ! Пожалуйста <A HREF=\"mailto:$fromemail\">сообщите</a> мне об ошибке.";
    }
  }
  
  \header('Content-Type: text/html; charset=utf-8;');
?>

  <p><?=$message?></p>
  <form method="post">
    <fieldset>
      <legend>Подписаться на рассылку</legend>
      <label for="email">Введите e-mail:</label>
      <input type="text" id="email" name="email" size="30" required>
      <input type="submit" name="subscribe" value="Подписаться">
    </fieldset>
  </form>
  <form method="post">
    <fieldset>
      <legend>Отписаться от рассылки</legend>
      <label for="email">Введите e-mail:</label>
      <input type="text" id="email" name="email" size="30" required>
      <input type="submit" name="unsubscribe" value="Отписаться">
    </fieldset>
  </form>

A
Alexey Andreev, 2020-03-24
@LostAlly

Yes, in this case you are the operator of personal data, as you perform several actions from the definition -
Processing of personal data - a set of actions (operations) performed using automation tools or without using such tools with personal data, including collection, recording, systematization, accumulation , storage, clarification (update, change), extraction, use, transfer (distribution, provision, access), depersonalization, blocking, deletion, destruction of personal data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question