Git Product home page Git Product logo

Comments (12)

skerbis avatar skerbis commented on July 18, 2024 1

https://observatory.mozilla.org und die empfohlenen Schritte beim Hoster durchführen. Erlaubt es das Hosting nicht, dann hier.

from tricks.

skerbis avatar skerbis commented on July 18, 2024 1

https://addons.mozilla.org/en-US/firefox/addon/laboratory-by-mozilla/

from tricks.

skerbis avatar skerbis commented on July 18, 2024

Aus Slack:
@dergel

csrfprotection, schütz einem davor, dass man einen link/formular untergejubelt bekommt, welcher dann irgendeine aktion ausführt.. Das gilt allgemeine für Formulare und auch für Links (z.B. delete Links) .. d.h. es nicht alles muss man mit eine csrf_token versehen, sondern nur fälle, die etwas verändern.. z.B. suchen sind nicht nötig etc-

$_csrf_key = ‘meinkey_addon_subpage’;
$csrf = rex_csrf_token::factory($_csrf_key);

$func = ‘delete’;

if ($func = ‘delete’) {
if (!$csrf->isValid()) {
echo rex_view::error(rex_i18n::msg(‘csrf_token_invalid’));
} else {
// meine deleteaktion
}
}

$delete_link = http_build_url(“index.php?page=addon/subpage”, [“delete” => “func”] + $csrf->getUrlParams() ),

@gharlan

  1. rex_form: csrf-schutz immer aktiv, da muss man nichts anpassen

  2. api funcs: diese methode in der klasse ergänzen: https://github.com/redaxo/redaxo/blob/master/redaxo/src/addons/install/lib/api_core_update.php#L183-L186
    Und den link anpassen: https://github.com/redaxo/redaxo/blob/master/redaxo/src/addons/install/pages/packages.update.php#L40

  3. yform .. ist immer da.. kann man aber deaktivieren

  4. eigene aktionslinks: token am link hinzufügen und selbst prüfen ob valide vor ausführung der aktion

  5. eigene formulare: token als hidden attribute hinzufügen und selbst prüfen ob valide nach absenden

from tricks.

alxndr-w avatar alxndr-w commented on July 18, 2024

bei 2b verstehe ich die Notwendigkeit und die nötige Anpassung nicht.
zu 4. und 5. braucht es für mich noch mehr Erläuterungen, um sie zu verstehen.

from tricks.

alxndr-w avatar alxndr-w commented on July 18, 2024

https://wiki.selfhtml.org/wiki/Grundlagen/sichere_Cookies

Sichere Cookies:
image

(alternativ beim Hosting)

Danke @engel4u @skerbis für die Diskussion dazu im Chat.

Welche Angaben würdest du empfehlen? @skerbis

from tricks.

alxndr-w avatar alxndr-w commented on July 18, 2024

https://github.com/alexplusde/yform_spam_protection/ und https://github.com/yakamara/redaxo_yform_docs/blob/master/de_de/demo_kontakt-spamschutz.md passen hier ebenfalls in eine Doku-Tricks-Seite rein, da Versand von Bestätigungs-E-Mails an fremde Postfächer ohne Spamschutz zum Sicherheitsproblem werden kann. (Abwertung der Domain, Blacklist, Versand von Phishing-Mails)

from tricks.

aeberhard avatar aeberhard commented on July 18, 2024

https://securityheaders.com/ kennt das jemand und ist das hier evtl. auch interessant!?

from tricks.

skerbis avatar skerbis commented on July 18, 2024

@aeberhard https://securityheaders.com/ ist in https://observatory.mozilla.org integriert
(Third-party Tests)

from tricks.

aeberhard avatar aeberhard commented on July 18, 2024

Ah, hatte ich nicht gesehen :)

from tricks.

alxndr-w avatar alxndr-w commented on July 18, 2024
  • Redakteuren keine Eingaben zu PHP-Code direkt zur Verfügung stellen

from tricks.

engel4u avatar engel4u commented on July 18, 2024

Warum geschlossen, dann wieder geöffnet? Was fehlt noch bzw was soll geändert werden?

from tricks.

skerbis avatar skerbis commented on July 18, 2024

ich möchte es für Ergänzungen gerne offen lassen. Das Thema ist immer aktuell :-)

from tricks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.