WebSite X5Help Center

 
Дмитрий Тулупов
Дмитрий Тулупов
User

Partially disable html code protection  en

Autor: Дмитрий Тулупов
Besucht 611, Followers 1, Geteilt 0  

Greetings to all lovers and fans of X5!

On some pages of my site there are forms for specifying your Email address.
Many users use Copy-Paste to specify their email.

The enabled HTML code protection function prevents right-clicking on all pages of the site.
How can I disable this feature on certain pages, especially those with a feedback form?

Is it possible to improve this function so that in certain places on the page it is allowed to use the right mouse button?

If you have a solution, please indicate where to put this code in the constructor.

In any case, many thanks in advance to everyone.

Sincerely,
Dmitriy Tulupov.

Gepostet am
5 ANTWORTEN - 1 NüTZLICH - 1 KORREKT
John S.
John S.
User

I know this is not what you ask for - but: Remove the protection.

You need not to be a experienced user to be able to copy elements, and using F+12 and Ctrl+U can be used to show and inspect the code anyway. It is a "false" protection if you think it can be used to prevent much. 

Mehr lesen
Gepostet am von John S.
Дмитрий Тулупов
Дмитрий Тулупов
User
Autor
John S.
Я знаю, это не то, о чем вы просите, но: снимите защиту. Вам не нужно быть опытным пользователем, чтобы иметь возможность копировать элементы, а использование F+12 и Ctrl+U можно использовать для отображения и проверки кода в любом случае. Это «ложная» защита, если вы думаете, что ее можно использовать для предотвращения многого. 

I understand what you are talking about and you are right in your own way. But I'm interested in selective protection on some pages of my site. If you have a solution, please send!

Mehr lesen
Gepostet am von Дмитрий Тулупов
John S.
John S.
User

You CANNOT protect a page that you publish on the net. https://www.quora.com/How-can-I-hide-my-websites-source-code-and-prevent-anyone-from-viewing-page-source

But you can make it difficult. Could you tell some more about what it is you want to prevent the users from.

Then someone could maybe tell a way how to make it very difficult for a user to do what you do not want him/her to do on that page. But I think you will have to remove the general protection on all pages.

In the link I give in this post, it can be seen that it is not possible to protect 100% but for certain cases you can make it troublesome for the user.

Things that happen only on the server (typically PHP) you can make it impossible for a user to see what happens.

Things that happens on the client (typically java, html, CSS) you cannot prevent the user to find out what is going on - but you can make it troublesome.

So - what is it you want to prevent the user from seeing?

Mehr lesen
Gepostet am von John S.
Дмитрий Тулупов
Дмитрий Тулупов
User
Autor
John S.
Вы НЕ МОЖЕТЕ защитить страницу, которую публикуете в сети. https://www.quora.com/How-can-I-hide-my-websites-source-code-and-prevent-anyone-from-viewing-page-source Но можно усложнить. Не могли бы вы рассказать подробнее о том, от чего вы хотите запретить пользователям. Тогда кто-нибудь может подсказать, как сделать так, чтобы пользователю было очень трудно делать то, что вы не хотите, чтобы он делал на этой странице. Но я думаю вам придется снять общую защиту на всех страницах. По ссылке, которую я даю в этом посте, видно, что защитить на 100% невозможно, но в некоторых случаях можно сделать это хлопотным для пользователя. Вещи, которые происходят только на сервере (обычно PHP), вы можете сделать так, чтобы пользователь не мог видеть, что происходит. Вещи, которые происходят на клиенте (обычно java, html, CSS), вы не можете помешать пользователю узнать, что происходит, но вы можете сделать это проблематичным. Итак, что вы хотите, чтобы пользователь не видел?

I have read this article. And I think that I'm really worried about this protection, because it can be easily bypassed, and create inconvenience for users.

Thank you for putting me on the right path!

I wish you all the best!

Mehr lesen
Gepostet am von Дмитрий Тулупов
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Nutzer des Monats PT

(It > En)... regardless of the philosophy about the usefulness of protection, which instead has a logical purpose that goes beyond the protection itself, ...it is still possible, ...and you could use one of my simple and historical methods...
... if you are interested, either re-enable this Topic, or open a new Topic, ... otherwise ignore my Post...

Hello, ciao

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪